You are not logged in.
Pages: 1
Hi,
I have trouble embedding flash movies.
The code is modified when I switch between Html source and wysiwyg preview.
For a classic code like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="159" height="91" id="flashAbout_small" align="">
<param name=movie value="http://www.macromedia.com/swf/software/flash/about/flashAbout_info_small.swf" />
<param name=quality value=high />
<param name=bgcolor value=#FFFFFF />
<embed src="http://www.macromedia.com/swf/software/flash/about/flashAbout_info_small.swf" quality=high bgcolor=#FFFFFF width="159" height="91" name="flashAbout_small" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
In IE:
The embed tag disappear so the result can't be viewed in Gecko browsers like Firefox
In FireFox:
Embeded movie can't be viewed and <embed ...></embed> is changed in <embed .../> (no more closing tag)
Now, for a code with a xhtml compliant OBJECT tag for Firefox like this (with a little tip for IE):
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="159" height="91" id="flashAbout_small" align="">
<param name=movie value="http://www.macromedia.com/swf/software/flash/about/flashAbout_info_small.swf" />
<param name=quality value=high />
<param name=bgcolor value=#FFFFFF />
</object>
<!--[if !IE]><-->
<object type="application/x-shockwave-flash" data="http://www.macromedia.com/swf/software/flash/about/flashAbout_info_small.swf" width="159" height="91"></object>
<!--><![endif]-->
In IE:
The second object tag disappear so the result can't be viewed in Gecko browsers like Firefox
In FireFox:
Embeded movie can't be viewed and <![endif]--> in changed to <!--[endif]-->
So, is there a way to embed Flash movies ?
chaK!
Offline
embed is not a valid tag at all, is there any reason to use it ? What is happening with a valid markup ?
http://www.alistapart.com/articles/flashsatay/
http://www.w3.org/TR/html4/struct/objects.html
<object type="application/x-shockwave-flash" data="SWF FILE HERE">
<param name="movie" value="SWF FILE HERE">
</object>
Offline
If embed is not used, Flash movies in IE cannot progressively play while they are downloading. Also, they will not play in all browsers and OSes supported by the Flash player. These issues have been well documented in the past ( for example, see http://blog.deconcept.com/flashobject/#whyitsbetter ).
This is called the Object only or Flash Satay method of placing a Flash movie on a page, and it was originally proposed in this article: http://www.alistapart.com/articles/flashsatay/ for the purpose of being XHTML complient. Then, when people actually started coding HTML for Flash without embed they began running into problems, which are documented in the discussions about the article: http://www.alistapart.com/discuss/flashsatay/
But, don't worry, Tickets 253 and 287 both show ways to make normal Flash code stay intact and work fine in Xinha. With a base href, you can even see your movie play in the editor (at least in IE, I haven't tried that yet in Firefox.)
Last edited by mharrisonline (2005-08-11 02:27:16)
Offline
Pages: 1