[vlc] Adding functionalities to the mozilla plugin

MaX mysegfault at gmail.com
Thu Oct 19 19:41:33 CEST 2006


Hi all,

I want to add a function in the VLC mozilla plugin.
The first thing I did is compiling VLC with the --enable-mozilla
option. After all the compiling stuff, I succeed... and launch a video
in the mozilla browser with the example on the VLC website.

So, I studied the VLC code, and copy all the declarations and code of
my brand new function from an example : get_time()

So I modified :
src/control/input.c
include/vlc/intf.h
include/vlc/libvlc.h
mozilla/vlcintf.h
mozilla/vlcintf.idl
mozilla/vlcruntime.cpp

after this, the compilation succeed with my new function...
so I restarted mozilla... and then, there is this message :

LoadPlugin: failed to initialize shared library
/usr/lib/mozillla/plugins/libvlcplugin.so
[/usr/lib/mozilla/plugins/libvlcplugin.so: undefined symbol:
_ZN7VlcPeer13Get_mafonctionEPx]

the VLC plugin was not loaded in the web page.

So, with this message, I imagine that I missed something... but
clearly I don't know where... I tried a make clean && make install...
but no change...

If you have a suggestion, feel free to answer me.

Thank you
-- 
MaX

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list