Thursday, April 10, 2008

Older is Better: Flash player plugin for Linux

Here's a link to solve your new Flash woes if you upgraded and suddenly your favorite Flash site doesn't work any more:
Download old-libflashplayer.so

I just uploaded a known working (pre-April 9, 2008) version of the Flash player plugin for Firefox for Linux to the above link at FileCrunch.

Directions: Download the Flash player plugin somewhere, like your Desktop. Then run these commands in a terminal window.
  1. cd ~/.mozilla/plugins/
  2. mv libflashplayer.so new-libflashplayer.so
  3. mv ~/Desktop/old-libflashplayer.so .
  4. ln -s old-libflashplayer.so libflashplayer.so

Your plugins directory should look something like this:

todb@mazikeen:~/.mozilla/plugins$ ls -la
total 15892
drwxr-xr-x 2 todb todb 4096 2008-04-10 18:08 .
drwx------ 4 todb todb 4096 2008-04-10 16:48 ..
lrwxrwxrwx 1 todb todb 21 2008-04-10 18:08 libflashplayer.so
-> old-libflashplayer.so
-rwxr-xr-x 1 todb todb 8115888 2008-04-10 17:40 new-libflashplayer.so
-rwxr-xr-x 1 todb todb 8119784 2008-04-10 17:41 old-libflashplayer.so
todb@mazikeen:~/.mozilla/plugins$ md5sum *.so
13ce705df5d47422a9192b29827544e8 libflashplayer.so
1f26a6eeb8c06acf0af9433da2312d54 new-libflashplayer.so
13ce705df5d47422a9192b29827544e8 old-libflashplayer.so
todb@mazikeen:~/.mozilla/plugins$
Background:

In the rush to fix the recent Pwn20wn bug in the Adobe Flash player, Adobe managed to break some Flash functionality along the way, as described on Senocular.

And yes, the above fix is only tested on Ubuntu. I haven't tracked down an old Windows version of the Flash plugin, so good luck with that.

(I'm an Ubuntd00d now, no longer on teh Windows.)

Update1: To test what version of flash you have installed, visit Adobe's version test site. If you're on 9,0,115 for Linux, then you're fine. Also, in order for the above to work, you'll need to uninstall the system-wide flash install for your desktop machine. Using apt, it'll go something like apt-get install flashplugin-nonfree- (note the trailing hyphen for the remove function).

Update2: The particular issue that most people will run into with the April update is the new enforcement of the cross-domain policy. More about that on Adobe's site. If you are forced to downgrade, you'll probably want to let the authors of your favorite Flash app know and ask them nicely to read the above link.

Labels: , ,