Friday, January 2, 2009

Audio with Flash Applications in Firefox (Linux)

The title of this post may not be the best, but this issue does not apply to a particular distribution, or to all distributions. As far as I can tell, it just depends on your distribution and sound hardware. I had the issue with Slackware 12.2, but I had not encountered it in previous versions with the same hardware.

The problem is as follows: You have configured ALSA properly, adjusted using your favorite mixer, and sound works normally (tested by playing a sound file in amp/xmms/etc). However, sound from Flash based websites (using the Adobe Flash plugin) does not play in Firefox. This includes websites such as Youtube and Pandora. The most common fix I encountered was to install libflashsupport, which adds support for non-ALSA sound systems to the Adobe Flash Player. If you use Slackware, there is a Slackbuild file over at slackbuilds.org. Most other distributions should have an appropriate package.

I had some trouble finding the solution to this issue, so I hope this helps. Best of luck!