
Buffer speed is less than playing speed
I use jw6.12, in HTML5 mode, I added the speed button on the control bar.
When the speed button is clicked, it changes the current playback speed; for example, 2 times the speed of the player.
However, this error occurs: loading media: File could not be played Error
I found the control bar: the buffer speed is less than the speed of play
I would like to ask how to avoid this error occurs
code:
function changeSpeed(){
var videoTag = document.querySelector('video');
currentRate == 1 ? currentRate = 2: currentRate = 1;
videoTag.playbackRate = currentRate;
videoTag.defaultPlaybackRate = currentRate;
if(navigator.userAgent.toLowerCase().indexOf('firefox') > -1){
jwplayer().seek(jwplayer().getPosition());
}
}