嵌入式.wmv视频对象无法在Firefox中运行,适用于IE

时间:2010-02-02 15:49:17

标签: firefox video video-embedding

这是我的代码

<table style="width:100%;height:100%;vertical-align:middle;text-align:center;">
    <tr>
        <td><object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject">
            <param name="src" value="../Documents/10695.wmv">

            </param><param name="ShowStatusBar" value="true">

            </param><param name="stretchToFit" value="true">

            </param><param name="AutoStart" value="true">

            </param><embed pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" type="application/x-mplayer2" autostart="1" stetchToFit="1" NAME="MediaPlayer" ShowControls="1" src="../Documents/10695.wmv" />
        </object></td>
    </tr>
</table>

视频在IE中工作正常,但甚至不能在Firefox中播放。控制似乎缓冲,但随后无法播放。

-thanks for the up up

1 个答案:

答案 0 :(得分:0)

这是因为Firefox本身不支持WMV,而IE则支持WMV。你需要像JW Player for Silverlight这样的东西来支持这个。