Forum Moderators: open

Message Too Old, No Replies

Satay Method

Embedding Flash in XHTML Site

         

coertli

1:30 am on Mar 15, 2006 (gmt 0)

10+ Year Member



I have done much research on embedding flash components so that the site is XHTML Transitional valid, and the best solution I have found is the Satay Method. It works great, but it does not work in IE. Does anyone have any ideas or links. I already searched these forums and google, but the only solutions I have found will not work in IE. Here is the code that I am using, but is not valid:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />

<param name="movie" value="flash/index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="flash/index.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

Here is the code that is valid, but does not work in 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="400" height="300" id="movie" align="">
<param name="movie" value="movie.swf">
<embed src="movie.swf" quality="high" width="400"
height="300" name="movie" align="" type="application/x-shockwave-flash"
plug inspage="http://www.macromedia.com/go/getflashplayer">
</object>

Thanks so much for the help!

pageoneresults

1:42 am on Mar 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hmmm, the code I've been using is much more leaner than that and it validates XHMTL 1.0 Strict...

<object type="application/x-shockwave-flash" data="/file.swf" width="142" height="91">
<param name="movie" value="/file.swf" /></object>

And, it does work across all browsers that I tested which were the majority including IE. ;)

coertli

4:42 pm on Mar 15, 2006 (gmt 0)

10+ Year Member



Works great. Sometimes simpler is better I guess.

Thanks a lot.