The UbuntuLinux system is installed. If you use Firefox to enable Flash, the image and audio are normal, but mp3 and video playback are normal. You can search for related methods on the Internet, which has never been effective, later, the following method was found to be valid. Leave this as an archive. Open "System"-"Preferences"-"sound effects", click the "sound effects" tab, remove the "play alarm sound" option, click "close", and then open the Super Terminal, enter sudokillallpulseaudio and restart Firefox.
After Ubuntu Linux is installed, if you use Firefox to enable Flash, the image and audio are normal, but mp3 and video playback are normal. You can search for related methods on the Internet, which has never been effective, later, the following method was found to be valid. Leave this as an archive.
Open "System"-"Preferences"-"sound effects", click the "sound effects" tab, remove the "play alarm sound" option, click "close", and then open the Super Terminal, enter sudo killall pulseaudio and restart Firefox.
I am using ALSA, assuming that ALSA works normally.
For more information, see
1. Check whether the Flash plug-in is correctly installed. Based on my experience, Flashplugin-nonfree is relatively stable, even though it is nonfree... the GNU one often crashes.
2. If Flash can be viewed normally but there is no sound, there is a problem with the Firefox sound output settings. Edit the/etc/Firefox/Firefoxrc file. If not, create a file.
Sudo vi/etc/Firefox/Firefoxrc
Add (or modify)
Firefox_DSP = "aoss"
Aoss depends on your dsp, such as esddsp, artsdsp, and aoss (alsa-oss has been installed in aoss). You can also try auto. It cannot be none.
Disable all Firefox processes, restart Firefox, OK? Enjoy ~
PS: Applicable to dapper. Firefoxrc files in other or released versions may be different, such as/etc/mozilla-Firefox/mozilla-Firefoxrc.