circleplayer icon indicating copy to clipboard operation
circleplayer copied to clipboard

bug with buffer bar on jplayer circle.

Open happyworm opened this issue 12 years ago • 0 comments

Copied from jPlayer Group Post

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: http://voice-cards.tk/get_track.php?id=100625

happyworm avatar Jan 13 '14 10:01 happyworm