Please help regarding vlc plugin for mozilla.
Posted: 02 Aug 2011 10:20
This is the code am using to embedd vlc in html, problem is i dont know where to include the video file. I will use php to catch a value trough a web page and place that file name to the player. Please help. Thanku very much
Code: Select all
<html>
<head>
<title>Vlc Css Control Panel Basic</title>
<link href="controlpanelbasic.css" rel="stylesheet" type="text/css" >
<script src="controlpanelbasic.js" type="text/javascript" ></script>
<script src="vwcpconfig.js" type="text/javascript" ></script>
</head>
<body onload="trackselect()" >
<div id="vlcset" >
<div id="vlcplayer" >
<div id="vlcobject" >
<div id="screen" >
<!--[if IE]>
<object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc"
events="True" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" >
<param name="MRL" value="second.flv" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<![endif]-->
<!--[if !IE]><!-->
<object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc" events="True" >
<param name="MRL" value="second.flv" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
<param name="fullscreen" value="false" />
</object>
<!-- <![endif]-->
</div>
<div id="vlccontrolpanel" >
<div id="seekbar" title="Black" class="button" >
<img id="leftseekarrow" src="Imagesv092/Seekbar/seekarrownovideoleft.png" class="button"
onmouseout="if (playing) leftseekarrowmouseout()"
onmouseover="if (playing) leftseekarrowmouseover()"
onmousedown="if (playing) leftseekarrowmousedown()"
onmouseup="if (playing) leftseekarrowmouseup()" title="Slower" />
<img id="seekbarleft" src="Imagesv092/Seekbar/seekbaredgeleft.png" />
<img id="seekslider" src="Imagesv092/Seekbar/vlcseekslidernovideo.png" class="drag"
onmousedown="if (playing) CancelMouseDown(event)"
onmouseout="if (playing) seekslidermouseout()"
onmouseover="if (playing) seekslidermouseover()" title="Seek" />
<img id="seekbarright" src="Imagesv092/Seekbar/seekbaredgeright.png" />
<img id="rightseekarrow" src="Imagesv092/Seekbar/seekarrownovideoright.png" class="button"
onmouseout="if (playing) rightseekarrowmouseout()"
onmouseover="if (playing) rightseekarrowmouseover()"
onmousedown="if (playing) rightseekarrowmousedown()"
onmouseup="if (playing) rightseekarrowmouseup()" title="Faster" />
</div>
<div id="controlbar" >
<img id="playpause" src="Imagesv092/Controlbar/vlcplaybutton.png" class="button"
onmouseout="playpausemouseout()" onmouseover="playpausemouseover()"
onmousedown="playpausemousedown()" onmouseup="playpausemouseup()" title="Play" />
<img id="stop" src="Imagesv092/Controlbar/vlcstopbutton.png" class="button"
onmouseout="stopmouseout()" onmouseover="stopmouseover()"
onmousedown="if (playing) stopmousedown()" onmouseup="if (playing) stopmouseup()" title="Stop" />
<img id="fullscreen" src="Imagesv092/Controlbar/vlcfullscreenbuttonfalse.png" class="button"
onmouseout="if (playing) fullscreenmouseout()" onmouseover="if (playing) fullscreenmouseover()"
onmousedown="if (playing) fullscreenmousedown()" onmouseup="if (playing) fullscreenmouseup()"
onkeypress="if (playing) fullscreenexitclick()" title="Toggle fullscreen" />
<img id="mute" src="Imagesv092/Controlbar/vlcvolumeindicator0.png" class="button" onclick="mute()" title="Mute" />
<img id="volumebar" src="Imagesv092/Controlbar/volumebar50.png" class="button" onclick="volumelevel()" title="Volume" />
</div>
<div id="infobar" >
<div>
<img id="infobaredgeleft" src="Imagesv092/Infobar/vlcinfobaredgeleft.png"/>
</div>
<small id="vlcstatus" title="Status" >
Idling...
</small>
<div>
<img id="infobaredgeright" src="Imagesv092/Infobar/vlcinfobaredgeright.png"/>
</div>
<small id="rate" title="Rate" >
1.00x
</small>
<small id="clock" title="clock" >
-- : -- / -- : --
</small>
</div>
</div>
</div>
</div>
</div>
</body>
</html>