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.
- In the Firefox URL, type in about:config.
- Search for media.use_cubeb
- If media.use_cubeb doesn’t exist, right-click and add a new BOOLEAN entry
- 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: about:config, audio, cracking, firefox, fix, howto, lag, latent, mp3, noise, slow, solution