Hi,
My videos (mp4) are hosted on Amazon server and these are 30 mins and above in length. When I click Play button, jwplayer starts buffering and doesn't play video until its fully biffered. Need help.
My code is given below.
jwplayer.key="api_key_here=";
var playerInstance = jwplayer("mediaplayer");
$(function(){
playerInstance.setup({
'width': '450',
'height': '292',
'file': "{{lesson.video_file_link}}",
'primary':'flash',
'autostart' : 'false',
}).on('play', function(e) {
//some code
}).on('pause', function(e) {
//some code
}).on('complete', function(e) {
//some code
});
});
↧