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

Start time on embedd


Hello!
I have a question I can´t seam to fins a answer for. I would like to embedd a video to my site but I want the video to start at a specific start time.
For instance I have this embedd code:
<iframe src="//content.jwplatform.com/players/AdojSUIB-xbD6Y062.html" width="480" height="270" frameborder="0" scrolling="auto" allowfullscreen></iframe>

Can I put in a start time code in the iframe so the video starts at xx sec?

We are a local newssite and are using embedded videos maby 2-3 times a day so we want a fast and easy solution.

Other video platforms we worked with lets you put in starttime directly in the iframe so it looks like this:
<iframe frameborder="0" scrolling="0" height="293" width="520" src="https://jkpglive.solidtango.com/widgets/embed/6b2rhsli?auto_play=false&seek=10" allowfullscreen></iframe>
This embedded video starts at 10 sec, is there a similar code to jw player embedd?

Regards
Robin

1 Community Answers

Alex

JW Player Support Agent  
2 rated :

Hi, Robin!

We do provide a .seek() event in our JavaScript API for you to start playing a video at a certain timestamp.

Here is an example of the code that would allow you to do this:

jwplayer().once('play',function(){
    jwplayer().seek(20);
});;

The parameter in the .seek() function needs to be the second-mark that you want the video to start playing at, as an integer.

I hope this helps!

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.