/ Published in: HTML
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. :/
Unfortunately, sloppy developers don't usually care about validation. :/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!--[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" /> </object> <!-- <![endif]-->