[thelist] embed wmv movies firefox

James Hardy evolt at weeb.biz
Wed Apr 27 09:16:30 CDT 2005


Jeroen Wijers wrote:

> I tried 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" />
>  </object>
>
> But with no result really. the movie screen will show on both Ie en 
> Firefox but not play in one of them.
> Tried it too with the extra embed tags but with no luck...

I've never tried with wmv, but I know that with some other media formats 
(3gp for example)  adding a data attribute to the object element works so:

    <object type="video/x-ms-wmv" id="MyWMPPlayer" width="320" 
height="260" data="english_wmv/welcome.wmv">
        <param name="uiMode" value="full" />
        <param name="autoStart" value="true" />
        <param name="URL" value="english_wmv/welcome.wmv" />
    </object>

You still need the param element to make it work in IE

You should also check of course that firefox actually has a player for 
that mime-type
to do this enter into the location bar the address: about:plugins
then search for video/x-ms-wmv
(I found it, not surprisingly under the heading Windows Media Player 
Plug-in Dynamic Link Library)

If there is nothing registered to play it, or if it is not enabed (far 
right column of the page) then it will not work, regardless of what 
markup you use.



More information about the thelist mailing list