Make vlc-plugin discover its path by itself
vlc-plugin currently get's its path either from hardcoded values (macosx) or from a registry key (windows)
It's possible to make it use it's dylib/dll path using dladdr for macosx (and solaris, freebsd and linux) and equivalent code for windows
This way making an xpi packaged (firefox estension) for it should get quite easy