bug with buffer bar on jplayer circle.

27 views
Skip to first unread message

Иван Г.

unread,
Jan 12, 2014, 2:18:22 AM1/12/14
to jpl...@googlegroups.com
Sorry for my bad english.

I found bug in work buffer bar on jplayer circle.

in circle.player.js on line 120 
percent = 100 * bufferTime / self.audio.duration;
but, other case bufferTime > self.audio.duration and percent > 100!
bufferTime=77.32250213623047
self.audio.duration=77.3225
 
Then the last step function _progress not work, because else if (percent <= 100) 
i fix this insert line below percent = 100 * bufferTime / self.audio.duration; 
if(percent>100) percent=100;

test this bug: http://test.voice-cards.tk/audio/test.htm

sample mp3-files: 

Mark Panaghiston

unread,
Jan 13, 2014, 5:18:59 AM1/13/14
to jpl...@googlegroups.com
Thank you for the report. I have added the bug report to the main repo here:
https://github.com/maboa/circleplayer/issues/19
Reply all
Reply to author
Forward
0 new messages