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

Youtube Embedding


Ethan,
Can you tell me what I am doing wrong. This works for our other videos just not youtube.

<div id="mediaplayer">Sorry, but at this time, Adobe Flash must be installed to view this video.</div>

<div class="video-container">
<script type="text/javascript" src="/video/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="MYKEYHERE";</script>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
screencolor: "000000",
stretching: "uniform",
width: "100%",
aspectratio: "16:9",
autostart: "true",
skin: "/video/skins/beelden.xml",
file:"http://www.youtube.com/watch?v=MgFD1Cf4dHM",
primary:"flash"
});
</script>
</div>

7 Community Answers

jason.drane

User  
0 rated :

Works fine except in IE, I get an error #2124

Ethan Feldman

JW Player Support Agent  
0 rated :

Remove – screencolor: “000000”,

Also provide a link.

jason.drane

User  
0 rated :

http://www.swfwmd.state.fl.us/conservation/fixit/fixit1jw.php

MisterNeutron

User  
0 rated :

Also, try loading the JW script and license key in the <head> section, rather than in the <body>.

(Can't test IE, alas - I'm on a Macbook, away from home base.)

Ethan Feldman

JW Player Support Agent  
0 rated :

I just tested IE, it works fine.

jason.drane

User  
0 rated :

its not JWPlayer; it is our network. Issue resolved!

Ethan Feldman

JW Player Support Agent  
0 rated :

Great!

This question has received the maximum number of answers.