HTML
Embedding Flash in HTML
Syntax
<object width="..." height="..." [classid="..."]>Usage
<param name="movie" value="... .swf">
<embed src="... .swf" width="..." height="..." [pluginspage="..."]></embed>
</object>
Attributes
- Netscape uses the <embed> tag and ignores the <object> tag
- Internet Explorer uses the <object> tag
Examples
- classid: Tells Internet Explorer to load the ActiveX plug-in if it's not installed
- pluginspage: Displays a link to the Shockwave download page if Netscape doesn't have it
<object width="400" height="300"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="filename.swf">
<embed src="filename.swf" width="400" height="300" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>