Manually install plugin to browsers

*nix specific usage questions
hce
Blank Cone
Blank Cone
Posts: 63
Joined: 30 Jun 2008 03:05

Manually install plugin to browsers

Postby hce » 05 Sep 2008 01:29

Hi,

I built VLC in my Debian local directory and I like to install VLC plugin to browser manually as I have different browsers firefox, opera, etc which were also built from the source tree locally. I've read the document of VLC plugin which asking to use VLC Debian binary to install the plugin. Has anyone know how to install / copy VLC plugin manully to browsers, rather than from VLC binary?

boing
Blank Cone
Blank Cone
Posts: 13
Joined: 03 Sep 2008 21:59
VLC version: 1.0.0-git
Operating System: Linux
Location: Cholet (49), France

Re: Manually install plugin to browsers

Postby boing » 05 Sep 2008 17:54

Hello,

running Ubuntu, for Firefox I had to create the plugins dir and create a link to libvlcplugin.so in it
Enter this in console, or Konsole for you:
1) cd ~/.mozilla
2) mkdir plugins
3) cd plugins
4) ln -s /usr/lib/mozilla/plugins/libvlcplugin.so .

restart Firefox
check in about:plugins

Note: before all that I uninstalled the Totem packs (all of them, and mostly the mozilla plugin)

hce
Blank Cone
Blank Cone
Posts: 63
Joined: 30 Jun 2008 03:05

Re: Manually install plugin to browsers

Postby hce » 06 Sep 2008 02:06

Hello,

running Ubuntu, for Firefox I had to create the plugins dir and create a link to libvlcplugin.so in it
Enter this in console, or Konsole for you:
1) cd ~/.mozilla
2) mkdir plugins
3) cd plugins
4) ln -s /usr/lib/mozilla/plugins/libvlcplugin.so .

restart Firefox
check in about:plugins
libvlcplugin.so
Note: before all that I uninstalled the Totem packs (all of them, and mostly the mozilla plugin)
Thanks for the tips. I build VLC 0.9 in my local directory with --enable-mozilla, it is running fine, but I could not find libvlcplugin.so. What was I missing to generate libvlcplugin.so?

Following your above procedure, I guess I need to add following in my case:

1) Build VLC to include libvlcplugin.so (howto?)
2) Copy libvlcplugin.so to /usr/lib/mozilla/plugins
3) cd ~/.mozilla
4) mkdir plugins
5) cd plugins
6) ln -s /usr/lib/mozilla/plugins/libvlcplugin.so .

Please correct me and please advise how to build libvlcplugin.so.

Thank you so much.

Kind Regards.

boing
Blank Cone
Blank Cone
Posts: 13
Joined: 03 Sep 2008 21:59
VLC version: 1.0.0-git
Operating System: Linux
Location: Cholet (49), France

Re: Manually install plugin to browsers

Postby boing » 06 Sep 2008 23:05

Hello,

libvlcplugin is built with the option --enable-mozilla, but the plugin is in projects/mozilla/.libs in your vlc tree.
The .dir are often hidden by default by the file explorers.

The /usr/lib/mozilla/plugins directory is only in case of 'make install'.
If you installed VLC after making it, then it's ok.
Otherwise the link should be something like :
4) ln -s ~/vlc_dir/projects/mozilla/.libs/libvlcplugin.so .
Just replace vlc_dir with your own vlc source directory.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests