Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Youtube won't work through JWPlayer HELP!

8 replies [Last post]

Hi...

I've recently come across JWPlayer and i've managed to get it working on my blog by embedding it. I'd like to be able to use youtube videos instead of hosting the actual file.

I keep trying with the code from the set up wizard and it's not working!! Anybody know the embed code that will play youtube videos through JWplayer?

Hi Leon,

Could you please post the embed code that you're using? It's helpful in figuring out what your problem is.

Thanks.

This is the code im currently using for uploaded mp4s, Flv's etc...Which works fine...

<embed type="application/x-shockwave-flash" src="http://locatedatmyhost" style="" id="player" name="player" bgcolor="000000" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" flashvars="&file=http://&image=http://i49.tinypic.com/1zv4byh.jpg&link=http://www.wowwow.me/&backcolor=000000&frontcolor=FFFFFF&lightcolor=FFFFFF&screencolor=000000&amp;logo=http://&controlbar=over&stretching=fill" width="565" height="340"></embed>

BUT! every-time i try the one for the youtube embed code through the setup wizard it never works:

<embed
src='http://locatedatmyhost'
width='565'
height='340'
bgcolor='undefined'
allowscriptaccess='always'
allowfullscreen='true'
flashvars='file=http://www.youtube.com/watch?v=3UqWKSSqyh0&backcolor=000000&frontcolor=FFFFFF&lightcolor=AAAAAA&screencolor=000000&controlbar=over&stretching=fill'
/></embed>

Is there anyway to be able to get it to work like the first code but instead of having to keep uploading videos i can just use youtube as the source?

Any help is appreciated thanks :)

Hi Leon,

The embed code looks correct. My first guess here is that the yt.swf file is not uploaded to the same directory as your player.swf. The yt.swf would have been part of your player download.

Thanks.

Hi,

I've tried to play a youtube video through this player but it couldn't. it says video not found.

I have some local videos which it can play.

I have this info is in a xml file and i've downloaded yt.swf and created a crossdomain.xml file too.
wondering what is the problem in not able to find this youtube video?

Hi Paanis,

Can you please provide a link to your test page so I can take a look at your implementation?

Thanks.

Any update, why I am not able to see this video?

Thanks!

Ok got it....
should be
<jwplayer:type>youtube</jwplayer:type>

Good One!!!!