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

Starta video at 15th second with HLS


Hello,
I'm using JWP with HLS streaming.
I need to start a video from a certain point (i.e. 15th second) and not from the beginning.
How can I do it?

Thanks a lot

1 Community Answers

Andrew

JW Player Support Agent  
0 rated :

You can use our seek() API call to seek to a particular section of the video. The trigger for this could be onPlay(), though you’d need a way to have this fire only once. Maybe something like:

var played = false;

jwplayer().onPlay(function(event){
if (played===false){
jwplayer().seek(15);
played = true;
}
});

This question has received the maximum number of answers.