copy Mozilla plugin from one Fedora 7 box to another

This forum is about all development around libVLC.
gulliverrr
New Cone
New Cone
Posts: 3
Joined: 27 Oct 2009 16:47

copy Mozilla plugin from one Fedora 7 box to another

Postby gulliverrr » 27 Oct 2009 17:53

Hi,

I've been given a custom Fedora 7 (Moonshine) box with a stripped down version of it without yum, rpm, compiler and much more. I dont have control over what is included Im afraid as Im working on it "as is".
Im trying to get the Mozilla plugin (Firefox 2.0.0.14) for VLC 0.8.6g installed so I compiled the relevant libraries and vlc code in a seperate Fedora 7 (Moonshine) box and I got it working ok there.

Now what do I need to copy across/edit to the stripped down Fedora box to "enable" the Mozilla plugin? Could you give me some help?

about:plugins doesnt even give me the list of installed plugins so I have a hard-coded page to force the use of the vlc plugin (and not default mplayer):
...
<EMBED type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org"
progid="VideoLAN.VLCPlugin.2"
name="NSPlayP" id="NSPlayP"
autoplay="false"
loop="no"
width="3" height="3"
hidden="no">
</EMBED>
...

Thanks in advance guys

gulliverrr
New Cone
New Cone
Posts: 3
Joined: 27 Oct 2009 16:47

Re: copy Mozilla plugin from one Fedora 7 box to another

Postby gulliverrr » 29 Oct 2009 16:04

At least any hints guys?
Someone must have done something close to that...

gulliverrr
New Cone
New Cone
Posts: 3
Joined: 27 Oct 2009 16:47

Re: copy Mozilla plugin from one Fedora 7 box to another

Postby gulliverrr » 16 Nov 2009 12:48

Found out that "copying" the vlc plugin is just a matter of copy-pasting libvlcplugin.so from one machine to another in dir /usr/lib/mozilla
as long as the 2 machines are compatible which was the case with me.

My problem was that the *special* Firefox in the target box had plugin scaning disabled. A normal box when firefox visits about:plugins regenerates <HOME>/.mozilla/firefox/pluginreg.dat updating it or even creating it if deleted before (its safe to delete/rename it to test it works). It will scan the plugins dir, open all executables (.so) and report back to the .dat file all the registered MIME types they support.

Unfortunately this function is disabled in the target box and changes in the plugins dir do not propage no matter what :(

Hope this will help other ppl with similar issues although very rare


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 57 guests