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?
↧