No audio in Flash on Ubuntu 10.04
Upgrading to Ubuntu 10.04 went remarkably smoothly, with the exception that audio in Flash was erratic. Sometimes it worked, sometimes it didn't. Since I use my PC as an entertainment system, this was pretty much a deal-breaker.
Googling for it got me no where. Apparently “no audio in flash” is the Ubuntu equivalent of “i have a headache” – it's a vague symptom that has multiple possible causes. Long story short, the problem was that I had both Flash 9 and Flash 10 installed. Firefox appeared to pick one at random (as far as I could tell), but audio only worked with 10. The solution was to delete Flash 9 – which I couldn't do from the package manager, because it turned out I had Flash 9 installed locally.
If this sounds familiar, type about:plugins
in to the Firefox address bar. If you see two entries for Flash, then give the following a try:
rm ~/.mozilla/plugins/libflashplayer.so
This is probably the result of some tinkering I did before upgrading to 10.04. I doubt this will be a problem with a fresh install.
I have been Googleing for a few days now trying to get this issue fixed. What you did, didn't resolve the issue for me but it did put me on the right track. I did had multiple versions of the flash plugin installed but just removing the .so didn't resolve it.
I have a browse though my Synaptic and found that I had multiple flash plugins installed, I tried marking them all for complete removal but found that the package "adobe-flashplugin“ would not remove, I would get the error ”adobe-flashplugin: subprocess installed pre-removal script returned error exit status 2"
I found that doing the following fixed this,
Now everything is working, with audio.
Just like everyone on here this pointed me in the right direction. Basically tinkering and fixing past problems left me with a flashplayer plugin that didn't work. Removing all options but one (and reinstalling it to be sure) works like a charm.
Then I found out flash used my different sound card. I still have to find where I can change this setting.
Thank you for tip. I tried reinstalled flashplugin. However, none worked. Its worked for me.
jans
Works for me too.
Gives me a lot of headache, as my wife used this to say that with every upgrade of Ubuntu I am breaking something giving her the reason to use Windows instead :-)
Best regards,
Aca
Found a combination of Will's, Heno's and Budgieboy's fixes did the trick for me.
Thanks guys!
For the newbies out there who think even this was a little too cryptic, here are some step by step instructions:
1. open a terminal and ‘su’ to have root access.
2. cd / to get to the root directory
3. search all subdirectories for ‘libflashplayer.so’. To do this use this command: find . -name ‘libflashplayer.so’ -print
4. write down all these occurences of libflashplayer.so
5. Open synaptic package manager. Search for anything installed on your computer named flash and mark it for complete removal.
6. I did the same thing for firefox. It will be reinstalled later on the correct version of libflashplayer.so
7. Once everything is deleted, Use synaptic to reinstall adobe flash player. I installed these: flashplugin-installer, flashplugin-nonfree, flashplugin-nonfree-extrasound
8. Reinstall firefox in synaptic.
my apologies.
then
but that would only work for one session i.e. until reboot.
All sorted now.
Clearing everything in the local configuration directory may solve the problem without the need to re-install:
rm ~/.mozilla/plugins/libflashplayer.so
Just you said in your article - nothing else. Works like a charm.
You are a badass - I've been trying to find a solution since 10.04 came out. I am guilty of locally installing flash plugins, did the about:plugins, saw two, removed it - sound in flash.
This was too easy! :o)
I deleted the flash plugins in the home directory and blew away the /usr/lib/adobe-flashplugin directory. Then uninstalled the plugins (completelty) with synaptic. I left the flashplugin-installer installed.
I restarted the system and called up a Youtube video just to see what would happen, and it played with sound without needing to reinstall anything!
Ed