Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedThe 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.
Comment #2
mindgarden CreditAttribution: mindgarden commentedThank you for your help. Much appreciated.
Comment #3
mindgarden CreditAttribution: mindgarden commentedIt 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.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.