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

Embedding Youtube using JW Media Player 4


I am using Drupal and I tried to embed a Youtube video using JW Player, it used to be working, but for some reason it has stopped working. I followed the example in http://www.jeroenwijering.com/?page=wizard&example=5 with the following code:

<embed src="/modules/swftools/shared/flash_media_player/player.swf"
width="425"
height="345"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.youtube.com/watch?v=X1SNX8tFM6w"
/>

Any reason why it wouldn't work?

17 Community Answers

JW Player

User  
0 rated :

Unfortunately it still doesn't work.

JW Player

User  
0 rated :

Do you have the YouTube proxy, *"YT.SWF"* in the same directory as the movie, *"PLAYER.SWF"* ???

JW Player

User  
0 rated :

I have the exact same problem ... i use the setup wizard using the FVL player with a youtube video, i copy and paste the code on myspace, but the video won't play? Any thoughts?

JW Player

User  
0 rated :

candyman

JW Player

User  
0 rated :

Dries...
It wont work on mySpace, I dont even think that you can embed code on mySpace. I think you are a bit confused on how it works, you dont just make a code in the wizard and paste it in, you must install the files on a server and then paste the code into the HTML. You make it sound like you pasted the code into the mySpace UI, if you have that was epically stupid.

JW Player

User  
0 rated :

Epically Awesome!

JW Player

User  
0 rated :

unfortunately, I found a code using the setup wizard which worked on myspace UI

JW Player

User  
0 rated :

how do i move a you tube video on myspace? like a div or somthing? you knw diferent location...

JW Player

User  
0 rated :

i am trying to make the my space video work with jw player but i don't know how to make it work, all files with .flv work on jw player but i have seen people working with myspace vids on jw player, please help me out the link which i want to attack to jwplayer is http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=63213247

i will be waiting for the reply thank you.

JW Player

User  
0 rated :

Try this:bc.. <embed src="/modules/swftools/shared/flash_media_player/player.swf"
width="425"
height="345"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.youtube.com/watch?v=X1SNX8tFM6w*&type=youtube*"
/>



JW Player

User  
0 rated :

@ kLink

Thanks for this - it worked for me.

JW Player

User  
0 rated :

@k link,,where am i supposed to paste this code? can i use it on my blogger blog? you're propmt response will be appreciated

Ethan Feldman

JW Player Support Agent  
0 rated :

@jef – it would be posted in a static html page. I believe blogger strips out html. klink hasn’t posted here in a long time, in fact, his post is from 2008…

JW Player

User  
0 rated :

I am not able to play youtube videos in my jw player can any body help me please

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="628" height="500" align="middle">
<param name="movie" value="player.swf" /></param>
<param name="allowfullscreen" value="true" /></param>
<param name="allowscriptaccess" value="always" /></param>
<param name="flashvars" value="file=http://www.youtube.com/watch?v=fazT7Fc3EI0&type=youtube" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player.swf"
width="628"
height="500"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.youtube.com/watch?v=fazT7Fc3EI0&type=youtube"
/></embed>
</object>

Ethan Feldman

JW Player Support Agent  
0 rated :

Provide a link please ;)

JW Player

User  
0 rated :

This is what worked for me. Like kLink says, put "YT.SWF" in the same directory as the movie, "PLAYER.SWF"


<div id="container4"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","326","276","9","#ffffff");
s1.addParam("allowfullscreen","true");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://www.youtube.com/v/ycqwDxpkPw4&type=youtube&image=images/gmix.jpg&frontcolor=ffffff&lightcolor=ff4a0b&skin=stylish.swf");
s1.write("container4");
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

Yep, that is indeed the solution! :)

This question has received the maximum number of answers.