
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>