Merge pull request #30 from kevinmeziere/master

Incorrect time calculation
This commit is contained in:
Remy Sharp 2013-01-07 14:29:30 -08:00
commit f4ca7b5084
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ if (video.readyState > 0) { // metadata is loaded already - fire the event handl
function asTime(t) {
t = Math.round(t);
var s = t % 60;
var m = Math.round(t / 60);
var m = Math.floor(t / 60);
return two(m) + ':' + two(s);
}