i want check jwplayer buffer 100 percent, code look like this:
<script type='text/javascript'>
var myPlayer = jwplayer('myPlayer').setup({...});
myPlayer.onBufferChange(function(e) {
if (e.buffer == 100) {//but result is undefined
console.log('done!');
}
});
</script>
how i can do this? somebody can help me?