I embedded the following code to play Youtube video using JW player according to the instruction given in the JW homepage
http://www.jeroenwijering.com/?page=wizard&example=5

<embed src="/modules/swftools/shared/flash_media_player/player.swf"
width="300"
height="225"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.youtube.com/watch?v=aiWfpwR-6Lc"
/>

It was working fine and the video was playing. But since yesterday it has stopped working and the video would not play. It only shows the black JW player box.

Is this the right code to use?

Thank you.

Comments

The code you have embedded isn't SWF Tools code, it is general HTML mark-up. If the player is appearing but you get a black box are you sure the video is still available?

To embed YouTube via SWF Tools refer to this documentation page which explains how to use the swf tools input filter to do it.

Status:Active» Fixed

Thank you for your help. Much appreciated.

It seems that when we use the SWF Tools Filter we cannot customize the JW Player using flashvars? (as outlined in the JW homepage http://code.longtailvideo.com/trac/wiki/Flashvars3)

I tried to remove the navigation bar at the bottom with the following SWF Tools Filter code but it wouldn't work:

<swf file="http://www.youtube.com/v/DvdfO0lq4rQ" height="245" width="300" action="swftools_flv_display"  player="wijering4_mediaplayer" flashvars="shownavigation=false">

Any ideas?

Thanks.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.