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

Two videos on one page


You think, its easy, just change ID. Nope. When i try post two videos at same page (YouTube stream), second video doesnt play, you can try it:

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "http://youtu.be/ylLzyHk54Z0",
width: 640,
height: 360
});
</script>

<div id="myElement2">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement2");
playerInstance.setup({
file: "http://youtu.be/ylLzyHk54Z0",
width: 640,
height: 360
});
</script>

3 Community Answers

mark

User  
0 rated :

could it be that you cant because both videos are the same?
Got a test page to show us?

Ajvngou

User  
0 rated :

No, that isnt that problem, i tried it before. I tried many things... Nothing.

Randy

JW Player Support Agent  
0 rated :

Hello,

I seemed to have replicated this on my end as well. I did have more luck with the upcoming 7.2.0 release of our player which should be released relatively soon.

Randy

This question has received the maximum number of answers.