VLC ActivX plugin not playing video in update IE9

Posted by Prashant Mehta on Stack Overflow See other posts from Stack Overflow or by Prashant Mehta
Published on 2013-06-28T10:19:27Z Indexed on 2013/07/03 5:05 UTC
Read the original article Hit count: 196

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

enter image description here

Any help is greatly appreciated

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery