Flash is becoming a huge thing now adays, and if you don't have the flash plugin to your browser, then you should! A lot of sites use it and require you to have it in order to even view the site.
So, how would you go about embedding a flash video or object into your website so that all the different web browsers could see and use it? It's rather simple, just copy and paste the code into your site below and replace all the necessary options with your file, and vua-lah!
Note, you need to update both the object params and the embed params for it to work in all browsers!
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0&q
uot; id="YourFileName" align="middle" width="500"
height="350"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="YourFile.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <embed src="YourFile.swf" quality="high" width="500"
height="350" bgcolor="#FFFFFF" name="YourFileName"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
Select what you want to copy and in doing so you will keep the formatting when pasting it. |
Note that Mozilla Firefox requires that you have the embed tag in there in order for it to work. To date, I think it is the only browser which requires this to work, all others just use the object tag to play it.
Also, 500 x 350 is the standard width and height for flash videos. This does not mean that yours will be the same. Adjust accordingly.