Enabling HTML5 MP3 Playback in Firefox 30 and Above

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!

Advertisements

3 thoughts on “Enabling HTML5 MP3 Playback in Firefox 30 and Above”

  1. Ubuntu 14.04 LTS, Firefox 42 Developer Edition, attached mp3 doesn’t work, and:
    gstreamer1.0-plugins-ugly is already the newest version.
    gstreamer1.0-plugins-bad is already the newest version.
    😦

  2. LUbuntu 14.04 LTS, Firefox 41.0.2
    mp3 doesn’t work, and:
    gstreamer1.0-plugins-ugly is already the newest version.
    gstreamer1.0-plugins-bad is already the newest version. 😦

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s