Solution: Firefox Audio Issue MP3 Slow or Cracking

Posted on Sunday, September 8th, 2013

http://forums.mozillazine.org/viewtopic.php?f=38&t=2542145

Wow, it’s all the way back in Firefox version 15.

NOTE: THIS SEEMS TO ONLY AFFECT WINDOWS VISTA SYSTEMS.

Anyway, if you’re trying to use HTML5 audio tag to play MP3 files, you might notice Firefox being a little lagging to play it. According to the forum in the link above, you need to manually add an entry into Firefox’s about:config registry.

  1. In the Firefox URL, type in about:config.
  2. Search for media.use_cubeb
  3. If media.use_cubeb doesn’t exist, right-click and add a new BOOLEAN entry
  4. Set this new entry to FALSE

Now restart Firefox and you might notice a subtle improvement playing MP3 with audio tag. Me, personally, it’s not much of an improvement, but it still plays as long as your MP3 is 128Kbps and 44KHz.

Hope this helps.


UPDATE: Sept. 15, 2013

http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library

I found an unbelievable solution called Howler.js. It’s an open-source script from an indie game developer. I’ve tested it in Firefox, Chrome, and IE9 and it works! Note, though, it only works for HTML5 based browsers.

Tags: , , , , , , , , , , ,

Comments are closed.