Thursday, October 16, 2008

64 bit flash plugin for firefox 3

I have had a ton of trouble getting the flash plugin to work for 64 bit firefox 3. I'm using opensuse 10.3.

It turns out the trick is that nspluginwrapper only works on the actual library, not the link to the library. Most instructions I've seen on the net point to running
nspluginwrapper -i /usr/lib/firefox/plugins/libflashplayer.so
but that didn't work. It either gave no output or it said something about it not being a valid NPAPI library or something.

The finally solution for me was this:
# nspluginwrapper --verbose --install /usr/lib/flash-plugin/libflashplayer.so
Install plugin /usr/lib/flash-plugin/libflashplayer.so
into /usr/lib64/browser-plugins/npwrapper.libflashplayer.so

Restarted firefox and it worked perfectly.