diff -r de92bfdcbe4c -r d3f336807ec3 src/js/utils.js --- a/src/js/utils.js Fri Oct 28 11:07:41 2011 +0200 +++ b/src/js/utils.js Fri Oct 28 11:07:54 2011 +0200 @@ -25,7 +25,8 @@ /* convert a time to a percentage in the media */ IriSP.timeToPourcent = function(time, timetotal){ - return (parseInt(Math.round(time/timetotal*100))); + // return (parseInt(Math.round(time/timetotal*100))); + return Math.floor((time/timetotal) * 100); }; /* for ie compatibility