Problem with VLC 2.0.5 in web page
Posted: 12 Feb 2013 14:12
Hello,
I have a problem that I do not understand (5 days I tried...)
I installed VLC 2.0.5 64 bits on Windows-7-Pro-64 (download from videolan.org)
No problem to use VLC and view video (from cameras)
BUT when I tried to view a rtsp source on a web page with Internet-Explorer-9,
I see nothing (just a small icone).
On another computer, I use XP-SP-PRO3 with VLC 1.1.11
and IE7, I have no problem to see the video.
Here is the code for the html page on the site:
I have a problem that I do not understand (5 days I tried...)
I installed VLC 2.0.5 64 bits on Windows-7-Pro-64 (download from videolan.org)
No problem to use VLC and view video (from cameras)
BUT when I tried to view a rtsp source on a web page with Internet-Explorer-9,
I see nothing (just a small icone).
On another computer, I use XP-SP-PRO3 with VLC 1.1.11
and IE7, I have no problem to see the video.
Here is the code for the html page on the site:
Thanks for your help and have a nice day !<html>
<body onload="play('vlc5001')">
<script language="javascript">
function play(tgt) {
var uri = "rtsp://USER:PASSWORD@URL_WEB:5001/live.sdp";
if (document.all) tgt += "_IE"
var tgt = document.getElementById(tgt);
if (document.all) tgt.playlist.add(uri,uri, new Array());
else tgt.playlist.add(uri,uri, "");
tgt.playlist.play();
}
</script>
<OBJECT id=vlc5001_IE
codeBase=http://downloads.videolan.org/pub/video ... /axvlc.cab
height=240 width=320
classid=clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921>
<embed type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="320" height="240" id="vlc5001">
</embed>
</body></html>