vlc 1.0.5 mozilla plugin built but not working

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
dime.digger
New Cone
New Cone
Posts: 1
Joined: 12 Apr 2010 12:06

vlc 1.0.5 mozilla plugin built but not working

Postby dime.digger » 15 Apr 2010 09:26

Hi all,

I want to use a compiled vlc mozilla plugin for a web-page. I have built vlc 1.0.5 code (alongwith plugin) and the standalone exe is able to come up. However when I embed the plugin in a web-page using <object> tag, its not working (e.g. not able to invoke plugin apis like vlc.playlist.add("test.avi"))

I have copied npvlc.dll from the build directory (/vlc-1.0.5/mozilla) to C:\Program Files\Mozilla Firefox\plugins folder and its able to detect the plugin (verified using 'about:plugins'). Please help me in this regard.

Regards

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

Re: vlc 1.0.5 mozilla plugin built but not working

Postby Ilasir » 07 May 2010 16:07

Hi all,

I want to use a compiled vlc mozilla plugin for a web-page. I have built vlc 1.0.5 code (alongwith plugin) and the standalone exe is able to come up. However when I embed the plugin in a web-page using <object> tag, its not working (e.g. not able to invoke plugin apis like vlc.playlist.add("test.avi"))

I have copied npvlc.dll from the build directory (/vlc-1.0.5/mozilla) to C:\Program Files\Mozilla Firefox\plugins folder and its able to detect the plugin (verified using 'about:plugins'). Please help me in this regard.

Regards

What browser are you using and could you paste the code as well?

thanaos
Blank Cone
Blank Cone
Posts: 10
Joined: 10 May 2010 09:27

Re: vlc 1.0.5 mozilla plugin built but not working

Postby thanaos » 10 May 2010 09:37

Hello,

I have the same problem. the plugin tell : "waiting for video"
I'm using firefox 3.6.3 and the code is :

<html>
<title>VLC Mozilla plugin test page</title>
<body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="640"
height="480"
id="vlc">
</embed>
<script language="Javascript">
<!--
var vlc = document.getElementById("vlc");
document.write("</br>" + vlc.versionInfo());
vlc.playlist.add("Parasites.avi");
vlc.playlist.play();
-->
</script>
</body>
</html>


Thanks for your responses

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

Re: vlc 1.0.5 mozilla plugin built but not working

Postby Ilasir » 11 May 2010 22:11

Where'd you learn that code? I would use:

<object type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" id="vlc" width="640px" height="480px" events="True" >
<param name="MRL" value="parasites.avi" />
<param name="volume" value="50" />
<param name="autoplay" value="false" />
<param name="loop" value="false" />
</object>


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests