Embed flash video in html 

Joined:
02/21/2009
Posts:
151

January 10, 2011 11:10:32    Last update: January 10, 2011 11:11:00
Following is the code snippet to embed a Flash swf file in a web page. The OBJECT tag is for IE, while the EMBED tag works for Firefox.
<HTML> 
<HEAD> 
<TITLE>Embed flash video in HTML</TITLE> 
</HEAD> 
<BODY> 
<!-- Flash movie tag--> 
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
WIDTH="896" HEIGHT="635" id="test.swf" ALIGN=""> 
 <PARAM NAME=movie VALUE="http://localhost/test.swf"> 
 <PARAM NAME=quality VALUE=high> 
 <PARAM NAME=bgcolor VALUE=#ffffff> 
 <EMBED src="http://localhost/test.swf" quality=high bgcolor=#380  
    WIDTH="896" HEIGHT="635" NAME="test.swf" ALIGN="" 
    TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED> 
</OBJECT>
</BODY> 
</HTML>
Share |
| Comment  | Tags