VLC ActivX的插件不玩视频更新IE9 [英] VLC ActivX plugin not playing video in update IE9
问题描述
我在使用Web浏览器IE9的ActiveX VLC插件来播放视频直播。</ P>
它的工作完美的IE8,但是当我从更新IE8浏览器IE9到比它不是在玩视频文件或实时straming。
这是我的code。
&LT;对象类型=应用程序/ x-VLC-插件ID =VLCWIDTH =517HEIGHT =388的classid =clsid中:9BE31822-FDAD- 461B-AD51-BE1D1C159921&GT;
&LT; PARAM NAME =MRLID =mrlVideoVALUE =/&GT;
&LT; PARAM NAME =体积值=50/&GT;
&LT; PARAM NAME =自动播放VALUE =真/&GT;
&LT; PARAM NAME =循环值=FALSE/&GT;
&LT; PARAM NAME =全屏VALUE =FALSE/&GT;
&LT; PARAM NAME =的wmode值=透明/&GT;
&LT; PARAM NAME =工具栏VALUE =真/&GT;
&LT; PARAM NAME =窗户VALUE =真/&GT;
&LT; /对象&gt;
和javascript中我使用这些
VAR VLC =的document.getElementById(VLC);
VAR的选择=新的Array(:RTSP-TCP);
VAR urlVideofile =HPPT:// IP:端口号/
VAR ID = vlc.playlist.add(urlVideofile,空,期权);
vlc.playlist.playItem(ID);
下面是重视形象展示究竟错误来了
任何帮助是极大AP preciated
感谢。
JavaScript是区分大小写。您需要访问 vlc.playlist
(不是 vlc.Playlist
),调用 vlc.playlist 。新增
(不是 vlc.Playlist.Add
)和 vlc.playlist.play
(没有 vlc.playlist.Play
)。 IE9的JavaScript引擎是符合标准比IE的previous版本,其中的可能已经允许的ActiveX / COM API的。
此外,的错误是在VLC 2.0.6压垮的ActiveX API推出 ,所以你需要使用VLC 2.0.5或更早版本。 (虽然什么是#8627说,这个问题是不固定的VLC 2.0.7,这似乎还包括某些原因2.0.6的ActiveX插件。)
I am using vlc ActiveX plugin on web browser IE9 to play video live streaming.
Its work perfect in IE8 but when I update browser from IE8 to IE9 than it not playing video file or live straming.
here is my code.
<object type="application/x-vlc-plugin" id="vlc" width="517" height="388" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921">
<param name="MRL" id="mrlVideo" value="" />
<param name="volume" value="50" />
<param name="autoplay" value="True" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
<param name="wmode" value="transparent" />
<param name="toolbar" value="true" />
<param name="windowless" value="true" />
</object>
and in javascript I am using these
var vlc = document.getElementById("vlc");
var options = new Array(":rtsp-tcp");
var urlVideofile = "hppt://IP:portnumber/"
var id = vlc.playlist.add(urlVideofile, null, options);
vlc.playlist.playItem(id);
Here is attach image that showing what exactly error is coming
Any help is greatly appreciated
Thanks.
JavaScript is case-sensitive. You need to access vlc.playlist
(not vlc.Playlist
), call vlc.playlist.add
(not vlc.Playlist.Add
) and vlc.playlist.play
(not vlc.playlist.Play
). IE9’s JavaScript engine is more standards-compliant than previous versions of IE, which may have allowed case-insensitive access to ActiveX/COM APIs.
Additionally, a bug was introduced in VLC 2.0.6 that breaks the ActiveX API, so you will need to use VLC 2.0.5 or earlier. (Despite what is stated in #8627, this issue is not fixed in VLC 2.0.7, which appears to still include the 2.0.6 ActiveX plugin for some reason.)
这篇关于VLC ActivX的插件不玩视频更新IE9的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!