CAN ITS POSSIBLE TO ADD VLC PLAYER IN MY WEB PAGE ,LIKE WMP,WINAMP.OR REAL PLAYER .
I WANT HTML VLC PLAYER CODE FOR MY SITE
Maurice<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Simple VLC activeX page playing Nasa stream</title>
</head>
<body>
<!--
Insert VideoLAN.VLCPlugin.2
-->
<div>
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... on=0,8,6,0"
width="640"
height="480"
id="vlc"
events="True">
<!--below you can put your url to the video the current one is the NASA stream-->
<param name="MRL" value="http://playlist.yahoo.com/makeplaylist. ... ent=149773" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param name="Volume" value="50" />
<param name="StartTime" value="0" />
</OBJECT>
</div>
<INPUT type=button id="Play" value=" Play " onClick='document.getElementById("vlc").playlist.play();'>
<INPUT type=button id="Stop" value="Stop" onClick='document.getElementById("vlc").playlist.stop();'>
</body>
</html>
Yes you can look at the script i put in the code at the end.<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Simple VLC activeX page playing Nasa stream</title>
</head>
<body>
<!--
Insert VideoLAN.VLCPlugin.2
-->
<div>
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... on=0,8,6,0"
width="640"
height="480"
id="vlc"
events="True">
<!--below you can put your url to the video the current one is the NASA stream-->
<param name="MRL" value="http://playlist.yahoo.com/makeplaylist. ... ent=149773" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param name="Volume" value="50" />
<param name="StartTime" value="0" />
<EMBED pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
progid="VideoLAN.VLCPlugin.2"
width="640"
height="480"
name="vlc">
</EMBED>
</OBJECT>
</div>
<INPUT type=button id="Play" value=" Play " onClick='document.getElementById("vlc").playlist.play();'>
<INPUT type=button id="Stop" value="Stop" onClick='document.getElementById("vlc").playlist.stop();'>
<!--Script to detect if vlc 0.8.6a is installed-->
<script language="javascript">
try{
if (document.getElementById("vlc").VersionInfo!="0.8.6 Janus")
{
alert("Download and install the VLC player")
window.navigate("http://www.videolan.org")
}
}
catch(e)
{
alert("Download and install the VLC player")
window.navigate("http://www.videolan.org")
}
</script>
</body>
</html>
is there a way to to tell the browser to go to VLC download page if VLC is not installed?
You will have to install vlc for this. Correct me if I am wrong, but for vlc you can't just install only the activeX, because it depends on the main program.Do we have any solution to this problem yet?
Showing a live stream in the webpage, WITHOUT any software installed in the client system.
Installing software in server or using plugin by the client are acceptable though.
Note: My input stream is MPEG-4 format.
Thanks,
Gopi
Code: Select all
vlc.playlist.add("rtsp://servername/item/to/play", "Title", ":start-time=5") //5 Seconds
vlc.playlist.play();
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: Bing [Bot] and 38 guests