Page 1 of 1

vlc 1.0.5 mozilla plugin built but not working

Posted: 15 Apr 2010 09:26
by dime.digger
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

Re: vlc 1.0.5 mozilla plugin built but not working

Posted: 07 May 2010 16:07
by Ilasir
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?

Re: vlc 1.0.5 mozilla plugin built but not working

Posted: 10 May 2010 09:37
by thanaos
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

Re: vlc 1.0.5 mozilla plugin built but not working

Posted: 11 May 2010 22:11
by Ilasir
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>