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

Incorporating JW Player Experiments (Timeline Interaction, etc)


I am very interested in using some of the JW Player Experiments, such as Timeline Interaction.

What's not clear to me is how one would incorporate these into a video. I know one can look at the page source, but that is not terribly helpful.

http://www.jwplayer.com/innovation/experiments/timeline-interaction/

Any suggestions greatly appreciated!

Sara

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

They are basically using some specific time points inside of an onTime() function to make the player change the Google map, Twitter, and Flickr boxes.

jwplayer().onTime(function(){
if (jwplayer().getDuration >= startTime && jwplayer().getPosition() <= endTime) {
//do something
}
if (jwplayer().getDuration >= anotherStartTime && jwplayer().getPosition() <= anotherEndTime) {
//do something else
}
})

You can see the full sources for that demo at http://demo.jwplayer.com/iframes/timeline-interaction/

This question has received the maximum number of answers.