开发者

embedded .wmv video object not working in firefox, works in IE

This is my code

<table style="width:100%;height:100%;vertical-align:middle;text-a开发者_StackOverflow中文版lign: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>

Video works fine in IE but will not even play in firefox. control appears to buffer but then does not play.

-thanks for the heads up


This is because Firefox doesn't natively support WMV, whereas IE does. You'll need something like the JW Player for Silverlight to support this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜