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

0 Shares:
Leave a Reply

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

9 + 11 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

WYSIHTML5 – A better approach to rich text editing

wysihtml5 is an open source rich text editor based on HTML5 technology and the progressive-enhancement approach. It uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.

QUOjs – Micro JavaScript Library

QuoJS is a micro, modular, Object-Oriented and concise JavaScript Library that simplifies HTML document traversing, event handling, and Ajax interactions for rapid mobile web development. It allows you to write powerful, flexible and cross-browser code with its elegant, well documented, and micro coherent API.