Some weeks ago I was looking for code to embed a Flash object into my XHTML Strict1.0 pages, and the following fits the bill for that. The code was created by Elizabeth Castro. <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): Hope someone will find this useful one day.
Hello, I can solve this problem... i ave solution for that... please reply me if you still finding solution.... Waiting....
Hello, Here is the code... please replace it with your object to object code... my paypal account is <p style="margin:0px; padding:0px;"> <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> </p>
This was to let You People know that I had found the code that can embed a Flash object, and still validates as XHTML1.0 Strict. This code does validate as XHTML 1.0 Strict as well as embeds on all browser pages.
Have you had any problems with IE versions that want an ActiveX classid? That's the one thing that led to my own, more complex version. <p><object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="xxx" height="yyy" id="movie"> <param name="movie" value=example.swf" /> <!--[if !ie]>--> <object type="application/x-shockwave-flash" data="example.swf" width="xxx" height="yyy" id="movie"> <p>Oops!</p> </object> <!--<![endif]--> </object></p> Code (markup): The duplicate id in the alternative content throws a spurious error. Since only one of the two objects is rendered, it doesn't matter, and is, in fact, valid. I'll be testing the Castro method. cheers, gary