VLC ActivX plugin not playing video in update IE9
- by Prashant Mehta
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.