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

给你一囗甜甜゛ 提交于 2019-12-10 12:08:33

问题


This is my code

<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>

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


回答1:


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.



来源:https://stackoverflow.com/questions/2185357/embedded-wmv-video-object-not-working-in-firefox-works-in-ie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!