Tuesday, April 16, 2024

JavaScript Used to Decode MP3 With No Flash

Developers are always eager to learn new techniques using JavaScript. The Mozilla team’s latest “trick” with JavaScript involves using it to decode MP3 files–using no Flash.

Currently it only works using Firefox 4/5/6 and the Aurora concept browser out of the box, but with Chrome 12, if you enable Web Audio API, it will also work. Thus far, support in IE, Opera, Safari is not there, but there are future plans to solves the particular issues for each browser.

By using JavaScript along with HTML5, the web will certainly be a multimedia experience. Code for this trick is available at GitHub.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Popular Articles

Featured