Return to Snippet

Revision: 36724
at February 23, 2011 18:46 by trusktr


Updated Code
<!--[if !IE]> -->
<object type="application/x-shockwave-flash"
  data="foobar.swf" width="100%" height="100%">
<!-- <![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="100%" height="100%">
  <param name="movie" value="foobar.swf" />
<!--><!--dgx-->
  <param name="loop" value="false" />
  <param name="menu" value="false" />
  <param name="wmode" value="transparent" />
  <param name="bgcolor" value="#000000" />
  <param name="FlashVars" value="first=ryan&last=hodek&foo=bar&etc=etc" />
	
  <p>This is <b>alternative</b> content.</p>
</object>
<!-- <![endif]-->

Revision: 36723
at February 10, 2011 17:57 by trusktr


Updated Code
<!--[if !IE]> --> 
<object type="application/x-shockwave-flash"
  data="foobar.swf" width="100%" height="100%"> 
<!-- <![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="100%" height="100%">
  <param name="movie" value="foobar.swf" />
<!--><!--dgx--> 
  <param name="loop" value="false" /> 
  <param name="menu" value="false" /> 
  <param name="wmode" value="transparent" /> 
  <param name="bgcolor" value="#000000" /> 
	
  <p>This is <b>alternative</b> content.</p> 
</object> 
<!-- <![endif]-->

Revision: 36722
at November 25, 2010 10:27 by trusktr


Updated Code
<!--[if !IE]> --> 
<object type="application/x-shockwave-flash"
  data="team.swf" width="100%" height="100%"> 
<!-- <![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="100%" height="100%">
  <param name="movie" value="team.swf" />
<!--><!--dgx--> 
  <param name="loop" value="false" /> 
  <param name="menu" value="false" /> 
  <param name="wmode" value="transparent" /> 
  <param name="bgcolor" value="#000000" /> 
	
  <p>This is <b>alternative</b> content.</p> 
</object> 
<!-- <![endif]-->

Revision: 36721
at November 25, 2010 10:26 by trusktr


Initial Code
<!--[if !IE]> --> 
<object type="application/x-shockwave-flash"
  data="team.swf" width="100%" height="100%"> 
<!-- <![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="100%" height="100%">
  <param name="movie" value="team.swf" />
<!--><!--dgx--> 
  <param name="loop" value="false" /> 
  <param name="menu" value="false" /> 
  <param name="wmode" value="transparent" /> 
  <param name="bgcolor" value="#000000" /> 
	
  <p>This is <b>alternative</b> content.</p> 
</object> 
<!-- <![endif]-->

Initial URL

                                

Initial Description
This code will allow you to embed flash on websites and those sites will validate on w3c validator.

Unfortunately, sloppy developers don't usually care about validation. :/

Initial Title
100% W3C-valid flash embed code using &lt;object&gt;.

Initial Tags
object, html, flash, code

Initial Language
HTML