嵌入.wmv视频对象不能在Firefox中工作,在IE中工作 [英] embedded .wmv video object not working in firefox, works in IE

查看:236
本文介绍了嵌入.wmv视频对象不能在Firefox中工作,在IE中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码

 < table style =width:100%; height:100%; vertical-align :中部;文本对齐:中心;> 
< tr>
< td>< object classid =CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95codebase =http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version = 5,1,52,701type =application / x-oleobject>
< param name =srcvalue =../ Documents / 10695.wmv>

< / param>< param name =ShowStatusBarvalue =true>

< / param>< param name =stretchToFitvalue =true>

< / param>< param name =AutoStartvalue =true>

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

视频在IE中运行正常,但是甚至不能在Firefox中播放。控制似乎缓冲,但然后不玩。



- 感谢您的支持

解决方案

这是因为Firefox本身不支持WMV,而IE则支持。你需要像 JW Player for Silverlight 来支持这一点。

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

解决方案

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.

这篇关于嵌入.wmv视频对象不能在Firefox中工作,在IE中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆