This is a brief description of how to embed an FLV movie on your site. This works for videos you have uploaded to your website and embeds it directly i.e. does not link to the video hosting site like YouTube etc. If you want to link to the direct file on the video host you can still use this method, but your video player swf needs to have a direct link to the flv (I recommend the JW player linked below). You can still do it that way, using the direct youtube flv link – but you probably need to setup a cron job to keep the direct link up to date as the video hosting companies change them sometimes..
See a working example here.
Put the flv and swf both into local directory (was root) along with this code copied from above post:
<object type="application/x-shockwave-flash" width="400" height="350"
<param name="movie" value="flvplayer.swf?file=movie.flv&autoStart=true" />
<param name="wmode" value="transparent" />
You can set size and autoStart in the code. If you want more control over the player appearance I recommend JW FLV Player – I’ve paid for a commercial licence for it (very cheap), use it quite a bit.
Please let me know if this helped you by posting a comment below – thanks!
P.S. I used the rugby video because I own the copyright to it – I took it at a recent game. If you use a video off YouTube it might be infringing the owners copyright as well as breaking the YouTube TOS.
P.P.S. If you need some help with this post a questions in the comments with a description of what you’re doing, I’d be happy to help.