[thelist] embed wmv movies firefox
Keith Gaughan
keith at digital-crew.com
Wed Apr 27 06:58:14 CDT 2005
Jeroen Wijers wrote:
> I have this on my website: www.chatbots.biz/English/index.htm
> But it won;t play in firefox..on win xp.
> On the other pages it does not even display a player screen.... so i
> "solved" that...
> But now what i wrong?
> <object id="MyWMPlayer"
> classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
> height="260"
> width="320">
> <param name="uiMode" value="full" />
> <param name="autoStart" value="true" />
> <param name="URL" value="english_wmv/welcome.wmv" />
> <embed type="application/x-mplayer2"
> pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
> id="MyWMPLayer"
> name="www.aiml.nl/English/english_wmv/welcome.wmv"
> width="320"
> height="260"
> autostart="true">
> </embed> </object>
I've no way of checking, but why not try this:
<object type="video/x-ms-wmv" id="MyWMPPlayer" width="320" height="260">
<param name="uiMode" value="full" />
<param name="autoStart" value="true" />
<param name="URL" value="english_wmv/welcome.wmv" />
<p>Some kind of alternate content.</p>
</object>
The reasoning behind this is the same as the Flash Satay[1] article. COM
CLSIDs are Windows-specific: even when Firefox's running on Windows, it
doesn't necessarily know about these. However, MIME types (the
"video/x-ms-wmv" above) are supposed to be internet standards (although
the one above isn't, hence the "x-"), and ought to be recognised
everywhere where there's a player or viewer for that type.
K.
[1] http://www.alistapart.com/articles/flashsatay/
More information about the thelist
mailing list