The other day I was trying to play a track on Soundcloud and it wasn’t playing. Soundcloud switched to an HTML5 player instead of Flash quite a while ago. This was strange because it had previously worked. I tried Safe mode but it still didn’t work. I tried Chrome and it worked in there so I was somewhat perplexed. I eventually found that starting with Firefox 30, Firefox started using Gstreamer 1.0 instead of the old 0.10 version. By default not all of the plugins to Gstreamer are installed in (K)Ubuntu. Pretty much all of the open source sound codecs will work (ogg, flac, vorbis, etc) but mp3 will not. The fix to this is simple.
sudo apt-get install gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
Enjoy your HTML5 mp3 playback!
I know the Windows version of Firefox has this activated by default and I know the Linux version used to as well, until some time ago. I’m not quite sure when, but it got disabled by default and I’ve always wondered what happened to it. At first I thought it was removed from Firefox as I couldn’t find any option for it anywhere. But it’s still there, just needs some digging around in good old about:config.
If you want to turn it back on, type in
in the address bar. In the Filter box type in
Double click on “false” to change it to “true”
Now the next time you download something you will get that little popup notification in the corner of your screen.
Yes I like to blog about really oddball stuff 😆