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

Multiple videos in Tabs not playing on Restart

I have two videos I would like to organize in tabs using wordpress. Everthing is fine, as you can start a video, click the other tab, and then play that one. The issue is when you return to the first video and nothing happens. This only happens in Chrome and Mozilla, as IE is fine. Not sure if I need to restart the video in coding, or other suggestions. Here is the Sample

1 Community Answers


JW Player Support Agent  
0 rated :

Hi there,

I would suggest the following:

1. It looks like you are embedding a cloud-hosted player library and a license key in each DIV that contains a player. I would recommend not doing that, using one player and putting that player and the license key in the <head> of your document.
2. I would recommend writing some JavaScript that pauses the player you are “leaving” when switching tabs. You can use the .pause() method from our JavaScript API to pause a video in a player.

Technically, embedding the players inside of a custom implementation, like yours, is not something that we provide support for but hopefully my suggestions above point you in the right direction.

Thank you.

This question has received the maximum number of answers.