[RESOLVED] RE: Problem with Cross DOM Compatability
Hi all,
The problem ive got is that i'm using the following code, to include a flash media animation.
HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" style="height:170px;width:550px;" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">
<param name="movie" value="http://www.frozendreams.co.uk/E-specially-Cards/BIN/Images/main-banner.swf">
<param name="quality" value="high">
<param name="loop" value="false">
<param name="quality" value="high">
<!--embed src="http://www.frozendreams.co.uk/E-specially-Cards/BIN/Images/main-banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed-->
</object>
Now the problem is that this works perfectly in IE6, IE5, IE4, IE7, Opera, and Netscape, but not in Mozilla (any version for that matter).
Can anybody help me in workign this one out and gettign some X-compat DOM code, or suggest alternatives? Oh, and i've already tried the embed tags, but they are deprecated, and seriously impeach load time, oh and it doesnt work anyways!!!
Ta very much
Kai
Re: Problem with Cross DOM Compatability
You have no MIME type or data attribute specified.
Try this:
HTML Code:
<object type="application/x-shockwave-flash" data="movie.swf" width="400" height="300">
<param name="movie" value="movie.swf" />
</object>
You can put an embed inside as a fallback for Netscape, if you really need to.
As an aside, apparently it causes streaming problems in IE [1], not sure if this has been fixed yet or not but if this affects you then you can try adding the classid attribute back in so that IE uses the ActiveX control. Might work.
I have not tested this as I do not have any Flash available so hope it helps.