Embeding Flash Video

There are many ways, you can embed Flash Video (SWF or FLV file) into your Web site or blog, but the simplest and easiest is inserting the under given code into your site or blog and replacing the source URL with the actual location of SWF / FLV file. The source file can be placed […]

There are many ways, you can embed Flash Video (SWF or FLV file) into your Web site or blog, but the simplest and easiest is inserting the under given code into your site or blog and replacing the source URL with the actual location of SWF / FLV file. The source file can be placed anywhere, your local computer, server, uploading sites or the source web site (in this case you may require permission from the host).

Once the code is inserted, you can change the video size / dimension, source URL, and make the “auto play” on / off. For e.g. autoPlay=true or autoPlay=false, in the first occurence, video will automatically start playing on every page load, the later gives you the control to turn it on / off. I would preffer the later, as it would save your server load.

  <object width="Width in Pixels" height="Height in Pixels" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"> <param name="salign" value="lt"> <param name="quality" value="high">   <param name="scale" value="noscale"> <param name="wmode" value="transparent"> <param name="movie" value="http://geekfile.googlepages.com/flvplay.swf"> <param name="FlashVars" value="&streamName=FLV_Video_URL&skinName=http://geekfile.googlepages.com/flvskin&autoPlay=true&autoRewind=true">  <embed width="Width in Pixels" height="Height in Pixels" flashvars="&streamName=FLV_Video_URL&autoPlay=true&autoRewind=true&skinName=http://geekfile.googlepages.com/flvskin" quality="high" scale="noscale" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://geekfile.googlepages.com/flvplay.swf" wmode="transparent"> </embed></object>

You also reuire to install Adobe Flash Player (browsers addon or plugin) to run the Flash files. Download: Adobe Flash Player

Other references:On2 Flash Streaming | Community MX | Flash Video | Flash Dev Center