I have been try to mess with getting IE to play a flash file on my website. http://www.bktarr.com/flash.html

here is the Code im working with.

<object type="text/html" width="300" height="300" data="http://url/file.html">
  <param name="movie" 
    value="http://video.google.com/googleplayer.swf? 
docId=8755581808731033658" />
  <param name="allowScriptAcess" value="sameDomain" />
  <param name="quality" value="best" />
  <param name="bgcolor" value="#600000" />
  <param name="scale" value="noScale" />
  <param name="salign" value="TL" />
  <param name="FlashVars" value="playerMode=embedded" />
</object>

Would love to know what i am doing wrong or need to do for IE

Recommended Answers

All 6 Replies

flash is not text/html
typical macromedia flash

<OBJECT type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="myFlashMovie.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="/support/flash/ts/documents/myFlashMovie.swf"  quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

Try
google flash

<object type="application/x-shockwave-flash" width="400" height="326">
<param name="movie" value="http://video.google.com/googleplayer.swf?docId=8755581808731033658" />
<param name="allowScriptAcess" value="always" />
<param name="quality" value="high" />
<param name="bgcolor" value="#600000" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
<embed id="VideoPlayback" src="http://video.google.ca/googleplayer.swf?docid=8755581808731033658&hl=en&fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"> </embed>
</object>

Embed and object for cross browser compatibility, but am unsure of exact syntax, should be closer..

Aw, yeah i actually added the text part for trying something and forgot to remove it.

But thank you the embed part is what i was missing. /cheers

Embed is a nonstandard tag, and is deprecated.

there is only one important for any implementation it works
macromedia, the developer of flash, include the embed tag,
screw deprecated

Deprecated means it won't work in the future.

Required attributes
The following attributes are required when adding a Flash movie to an HTML page:
<snip>
Both object and embed:

sure looks like macromedia havent deprecated embed
proprietary systems,
can and do tell W3C to stick their recommendations in proverbial dark places.
until Macromedia change the requirements of flash, what everyone else does, matters a gnat fart
as the OP noted,
But thank you the embed part is what i was missing. /cheers
Function - before everything else, it has to work NOW
There is not much point in producing W3C code that does not work till some unimagined point in the future when Macromedia decides to become standard compliant.
When Flash implementations are compliant (at least til W3c changes it acgain), <embed></embed> will be just another ignored tag, the code will still work

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.