Skip to content

Commit e280d8a

Browse files
committed
added comment to aurora.js coding about seek 1000 ms to seconds
1 parent cd42878 commit e280d8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/javascript/jplayer/jquery.jplayer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,8 @@
31493149
},
31503150
_aurora_playHead: function(percent) {
31513151
if(this.aurora.player.duration > 0) {
3152-
this.aurora.player.seek(percent * this.aurora.player.duration / 100);
3152+
// The seek() sould be in milliseconds, but the only codec that works with seek (aac.js) uses seconds.
3153+
this.aurora.player.seek(percent * this.aurora.player.duration / 100); // Using seconds
31533154
}
31543155

31553156
if(!this.status.waitForLoad) {

0 commit comments

Comments
 (0)