Jump to content

JavaScript decoder plays MP3s in Firefox without Flash


DKT27

Recommended Posts

  • Administrator

7ua21.jpg

HTML5 and super-fast JavaScript engines to the latest web browsers has brought with it a wealth of new functionality. The focus seems to have been put on the ability to play video in a browser without Flash, or making games. But a project born out of a Music Hackday in Berlin is just as exciting.

The introduction of

It's called jsmad and is a pure JavaScript decoder that allows you to play MP3s in a browser without Flash. So, for example, a music artist could create a website and upload songs for visitors to listen to without need of any plug-ins. Alternatively, why not have an MP3 jukebox that can play songs off your hard drive or Dropbox folder just by loading a website?

You can try out the decoder by visiting the jsmad.org website where there is a sample song, on the same site you can browse for your own local file to play. Be warned, it only works in Firefox 4+ at the moment, but Chrome support is coming and already works in some cases. Eventually we could see it work across all modern browsers.

The good news is authors Amos Wenger, Antoine Marguerie, Matthias Georgi, and Jens Nockert have posted the decoder on GitHub under the GNU General Public License version 2. That means anyone can take this initial implementation and run with it, improving and adding features as they go.

As for its playback capabilities, Wenger responded to comments saying that it plays back 320kbps flawlessly and "bitrate is really not much of an issue."

The small team of hackers/developers aren't walking away from this project. Future improvements and additions include full Chrome 10+ support, better buffering, MPEG Layer 1, 2, and 2.5 support, implementation of ID3v2.2 and v2.3 fully, and a whole bunch of optimizations to the way the decoder works.

Read more at JSMAD on GitHub

view.gif View: Original Article

Link to comment
Share on other sites


  • Views 1.3k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...