[vlc-devel] XPI plugin bundle and win32

Luca Barbato lu_zero at gentoo.org
Sat Sep 26 18:47:23 CEST 2009

This is the second take at getting the mozilla plugin work when bundled
as xpi.

I eventually managed to get the cross toolchan installed so I could try
myself (using wine) and seems to work as should. It discovers the plugin
path correctly.

The simplest bundle should have this layout:

./install.rdf <- xml manifest like the attached one (the email should be
./plugins/ <- unpack vlc here and put the npvlc.dll

It will look in npvlc.dll path+"/plugins/" for the plugins modules, the
patch has some debug printfs so if you run firefox from console it will
tell which is the path in use.

I'll check if the macosx patch works soonish. If you think supporting
the other platform could be useful it could be done using the way used
for macosx.



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vlc-plugin-dir.diff
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090926/f8c6da15/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.rdf
Type: application/rdf+xml
Size: 547 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090926/f8c6da15/attachment.rdf>

More information about the vlc-devel mailing list