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

Can't play multiple videos (one video at a time) when they loaded in one page


Is there a way to fix the issue on can't play the second and succeeding videos loaded in a single page?

Note that the test page uses JW player and has auto-scroll functionality (using ajax) that loads succeeding video articles.

Sample auto-scroll page. http://qz.com/755771/chinas-athlete-of-the-moment-burped-and-ate-cupcakes-during-a-live-stream-with-10-million-fans/

Actual behavior: It only plays the first video loaded on the page, even if the user plays the 2nd or 3rd video.

Expected behavior: It should play the selected video only (e.g. Video2 / Video3)

A big thank you!

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

I went to that page, but I do not see where JW Player is used in the page source. What code is being used to load the 2nd or 3rd video?

If there’s only one player on the page, my suggestion would be to use the .load() call to load a new JSON feed for the next video.
If you have multiple players on the page, make sure you’re calling .stop() on a player as it leaves the page and then call .setup() in a new <div> for the next player.

This question has received the maximum number of answers.