January 17, 2013

Audio5js – Cross-Browser HTML5 Audio

HTML5 audio is awesome, so easy to implement and works fast. The only thing that can stop you from using it is the lack of support for older browsers. Audio5js is a lightweight JavaScript library that solves this compatibility issue nicely.

It provides support for multiple codecs and fallback to a Flash-powered MP3 player when needed.

The library auto-detects the browser, knows its capabilities and loads the right player with the right codec.

Audio5js

An API exists for controlling the player and has the functions for “load, play, playPause, pause, volume and seek”.

Also, there are methods for getting the details (playing, duration, position, load-percent, seekable or not) of the item being played

Requirements: No Requirements
Website: http://zohararad.github.com/audio5js/
Download: https://github.com/zohararad/audio5js

HTML5 # , , , ,
Share: / / /

You might also like

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This