Problem with VLC 2.0.5 in web page

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
pp30
New Cone
New Cone
Posts: 2
Joined: 12 Feb 2013 13:31

Problem with VLC 2.0.5 in web page

Postby pp30 » 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:
<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>
Thanks for your help and have a nice day !

pp30
New Cone
New Cone
Posts: 2
Joined: 12 Feb 2013 13:31

Re: Problem with VLC 2.0.5 in web page

Postby pp30 » 16 Feb 2013 19:21

Hello,
Nobody to help me ?

I try also:

Code: Select all

<html><body> <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" width="640" height="480" id="vlc" events="True"> <param name="MRL" value="rtsp://IPadress:Port/play2.sdp" /> <param name="ShowDisplay" value="True" /> <param name="AutoLoop" value="False" /> <param name="AutoPlay" value="True" /> <param name="Volume" value="50" /> <param name="toolbar" value="true" /> <param name="StartTime" value="0" /> <EMBED pluginspage="http://www.videolan.org" type="application/x-vlc-plugin" version="VideoLAN.VLCPlugin.2" width="640" height="480" toolbar="true" name="vlc"> </EMBED> </OBJECT> </body></html>
But no video on the page (only a small icone)
Please can you help me ?
Thanks

yushalee10
Blank Cone
Blank Cone
Posts: 14
Joined: 05 Mar 2013 13:29

Re: Problem with VLC 2.0.5 in web page

Postby yushalee10 » 29 Mar 2013 00:00

As far as I know, VLC is not working on IE Last thread I read said that the .cab file is missing, or not in use and was posted to cost $400 to build. I have been looking around, but havent found any post saying something else. I'm also new and trying to get my own site to work. Good Luck bro.

yushalee10
Blank Cone
Blank Cone
Posts: 14
Joined: 05 Mar 2013 13:29

Re: Problem with VLC 2.0.5 in web page

Postby yushalee10 » 03 Apr 2013 02:52

the client side will have to download vlc, but it will have all the plugins needed.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 19 guests