Cannot rewind or go forward after initially seek the video ?
Hi all,
I am seek the video before it starts play. That is working fine. All videos starts play after the seek time given and playing. That is really fine.
But I cannot rewind or forward the video after that. Because if I forward or rewind video starts to play from the seek position. Assume my seek position is from 5 minutes and I am forwarding when I am in 10th minute, the video starts again from 5 minute where my seek starts.
How can I solve this please ? Following is my current code.
jwplayer('myPlayer').setup({
file: video_url_here,
image: video_poster_here,
title: 'Play',
width: '800',
height: '500',
skin: 'glow',
autostart: 'true',
primary: 'flash'
});
if(resume_time > 0) {
jwplayer('myPlayer').onPlay(function() {
setTimeout(function() {
jwplayer().seek(resume_time);
}, 500);
});
}