seek does not work on rtmp jwplayer v7
It shows a black screen with refresh circling. I know the video is there and autostart works fine. The seeked event works fine if manually scroll to any position. any idea why seek function does not work?
var playerInstance = jwplayer("_video");
playerInstance.setup({
file: "rtmp://szq3gh4wlzgxg.cloudfront.net/cfx/st/kb.20131113.mp4",
width: "100%",
aspectratio: "4:3"
});
playerInstance.on('play', function() {
console.log("play");
});
playerInstance.on('seek', function() {
console.log("seeked");
});
playerInstance.on('ready', function() {
playerInstance.seek(5);
});