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

Cant Embed Youtube Videos


For Some Reason i cant embed youtube videos with it. I am currently tryign to use.

<script src="https://content.jwplatform.com/libraries/6giRLhUS.js" ></script>

<div id="player">Loading the player...</div>

<script type="text/javascript">
var playerInstance = jwplayer("player");
playerInstance.setup({
file: "https://www.youtube.com/embed/<?php print $youtube['id'] ?>",
width: "100%",
aspectratio: "16:9",
autostart: true,
mediaid: "<?php print $youtube['id'] ?>"
});
</script>

where $youtube['id'] turns into the video ID

2 Community Answers

s...

User  
0 rated :

I also am trying to use jwplayer 8.0.4

Jessenia

JW Player Support Agent  
0 rated :

YouTube is not supported in JW8. Please see our JW8 FAQ for more details.

This question has received the maximum number of answers.