Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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);
});
}

3 Community Answers

George

JW Player Support Agent  
0 rated :

Instead of using resume time, you should use jwplayer().seek( jwplayer().getPosition() + YOUR_OFFSET )

a...

User  
0 rated :

@George,

"Resume Time" means the offset. But I can't this is to be working.

George

JW Player Support Agent  
0 rated :

For me to reproduce this issue reliably I will need the following information:

Browser name and version:
Operating System name and version:
Device make and model:
Provide step by step instructions on how to reproduce the issue on your page:
A test page replicating the issue as described in the document below:
https://support.jwplayer.com/customer/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-test-page

The test page must not contain any additional code or CSS, it must only contain the player and concrete steps to reproduce with expected and actual behavior.

This question has received the maximum number of answers.