Insert a Flash Movie Into XHTML

Submitted by:Tim Kelly

Date added:09 March, 2013

Category:XHTML

Example shown here how to best insert a flash movie into an XHTML document.

Tags: insert flash , flash into xhtml

Code Snippet:

    <!--[if !IE]> -->
<object type="application/x-shockwave-flash"
data="movie.swf" width="300" height="135">
<!-- <![endif]-->

<!--[if IE]>
<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="300" height="135">
<param name="movie" value="movie.swf" />
<!--><!---->
<param name="loop" value="true" />
<param name="menu" value="false" />

<p>This is <strong>alternative</strong> content.</p>
</object>
<!-- <![endif]-->
 
 

Comments