View Full Version : .SWF Video Help?
johnson8707
02 Aug 2008, 12:22 AM
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.
THANKS!!!!
icu222much
04 Aug 2008, 02: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" />
</object>
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.