Please help regarding vlc plugin for mozilla.

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
ajaykashyap87
New Cone
New Cone
Posts: 1
Joined: 02 Aug 2011 10:11

Please help regarding vlc plugin for mozilla.

Postby ajaykashyap87 » 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>

Ilasir
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 14 Apr 2010 18:57

Re: Please help regarding vlc plugin for mozilla.

Postby Ilasir » 09 Aug 2011 03:26

You want the filepath to be placed in the "MRL" parameter.

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: Please help regarding vlc plugin for mozilla.

Postby darius » 16 Aug 2011 20:03

I would like to test examples using vlc plugin in Firefox.

Examples 1 and 2 from
http://www.videolan.org/doc/play-howto/en/ch04.html

don't work.

Can I run examples locally or what is http server's vlc directory to let me test web examples locally (Windows XP) ?

darius
Blank Cone
Blank Cone
Posts: 28
Joined: 14 Jul 2010 00:58

Re: Please help regarding vlc plugin for mozilla.

Postby darius » 16 Aug 2011 20:16

follow-up

Demo of VLC mozilla plugin - Example 2
http://wiki.videolan.org/Windows

another Firefox plugin example not working

"
More example code, as well as a working implementation using Javascript, XHTML, and PHP that auto-detects browsers (the code is good, but the stream doesn't work) can be found at http://altair.videolan.org/~dionoea/vlc-plugin-demo/
"

The above link is not working.

Still looking for one Firefox plugin example - working.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests