Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to force buffering while paused in HTML5?


Hi guys, I'm trying to make JWPlayer 7 to buffer while in paused state but fairly is not working, I tried these codes below:

1st:
playerInstance.getState("paused", function() {
playerInstance.getBuffer("100");
});

2nd:
if (playerInstance.getState("paused")) {
playerInstance.getBuffer("100");
}

3rd:
playerInstance.on("bufferChange", function(callback) {
console.log(callback.buffer);
console.log(playerInstance.getBuffer());
});

Is there any fix for it?

1 Community Answers

Randy

JW Player Support Agent  
1 rated :

Hello,

The getBuffer command will simply return the current buffer percentage, from my knowledge this does not force the player to buffer in any way. https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_reference/#buffer. I can place this as a feature request but I cannot guarantee it will be an implementation.

Kindly,

Randy Lemoine
Primary Support Engineer
JW Player Support Team
www.jwplayer.com

This question has received the maximum number of answers.