Flash Plugin for YDL (using Gnash)

UPDATE (2008-02-24): Andrew pointed out to me that this howto has been obsoleted by YDL 6.0. First, check to see if it is already installed. Open firefox and type: “about:plugins”. If you see shockwave/flash, it is already installed correctly.

If not, To add gnash support, click YDL -> Applications -> System Tools -> Add/Remove Programs. Under the search tab, enter “gnash” and click search. Click the check boxes and hit apply, the plugin will install automatically. Thanks for the tip Andrew.

Kai had me try to get gnash working, a GNU flash player with a firefox plugin. It was a pain in the ass to get
going, but I got a couple rough rpms together that seem to work well here:

http://cvs.terraplex.com/~billdar/gnash/gnash-0.8.1-2.ppc.rpm
http://cvs.terraplex.com/~billdar/gnash/gnash-plugin-0.8.1-2.ppc.rpm

There are a couple more in that directory you may or may not need. To install, just run:
rpm -Uvh gnash-0.8.1-2.ppc.rpm

You’ll get a list of packages you may not have already installed. I used yum to get the deps satisfied. Just type:

yum install [missing package]

Might take a couple iterations to clear them all. There are a ton of warnings from the gnash-0.8.1 rpm when it finally installs. They appear to not break anything though, and can be ignored for now.

For the plugin, I messed up a bit and you have to create the directory:

/usr/lib64/mozilla/plugins

And install the rpm with the –nodeps option. Then copy the libgnashplugin.so file to /usr/lib/mozilla/plugins. Don’t forget to close/restart firefox to make it work.

Youtube and Homestar Runner seems to work ok, though the load times are longer than they should be. The stand alone swf player I tested with the file:

http://www.beetlebailey.com/images/flag.swf

It seems to work better on my ibook than the PS3 for some reason, so I’m interested in seeing how it works for you all.

Oh yeah, thanks to whoever packaged the original srpm. It was tough to get all the deps, and the spec needed a little tweaking, but it made things a lot simpler.

-Bill