View Full Version : .SWF Video Help?

01 Aug 2008, 11:22 PM
Alright, so I've got my .AVI videos converted to .SWF format. I'd like to be able to click a button and the video open in a new window in which the flash video will be played.

I already know how to set it up to where you can click a button and another window will open, but my question is what code should I use to embed the .SWF onto the page that pops up.


04 Aug 2008, 01:14 PM
This is the code I have used in the past to embed my .swfs. I have highlighted the four parameters you will need to change to get things working. In addition, you proboly want to change your width/height as well as background colours. Enjoy :)

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="750" height="450" id="YOUR_ID_HERE" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="YOUR_MOVIE_NAME.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffbf" /><embed src="YOUR_MOVIE_NAME.swf" quality="high" bgcolor="#ffffbf" width="750" height="450" name="YOUR_MOVIE_NAME" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />