Can someone help me make this compliant to w3c standards? I can't seem to get it using object tags... <embed src="http://card.mygamercard.net/Divided+King.swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash" width="198" height="135" style="margin-left: 6px" alt="Divided King"> </embed> Code (markup): It seems to be causing all the errors on my page. Url: alter.darkgamer.com
This is how I did it, and it validates as XHTML1.0 Strict <object type="application/x-shockwave-flash" data="flash-object.swf" width="n" height="n" id="VideoPlayback"> <param name="movie" value="flash-object.swf" /> <param name="allowScriptAcess" value="sameDomain" /> <param name="quality" value="best" /> <param name="bgcolor" value="#FFFFFF" /> <param name="scale" value="noScale" /> <param name="salign" value="TL" /> <param name="FlashVars" value="playerMode=embedded" /> </object> Code (markup):
This is what I use. It validates as XHTML 1.0 Strict. I've been using the same code for years, and would be interested to know if it works in IE8, as I haven't actually bothered to test it. <object data="flash.swf" type="application/x-shockwave-flash" width="500" height="500" class="flash"><param name="movie" value="flash.swf" /></object> Code (markup):