Slim HTML5 Audio jQuery Plugin: jQuery plug-in to embed an audio player

Recommend this page to a friend!
  Info   Screenshots   View files Files   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 532 All time: 47 This week: 4Up
Version License JavaScript version Categories
html5-audio 1.1MIT/X Consortium ...1.0jQuery, Audio
Description 

Author

This is a very simple jQuery plug-in to embed an audio player.

It can insert HTML to play a given audio file using the HTML5 audio tag.

The plug-in also insert the embed tag as fallback when the audio tag is not supported by the Web browser.

Innovation Award
JavaScript Programming Innovation award nominee
January 2013
Number 3


Prize: One downloadable e-book of choice by O'Reilly
HTML5 introduced the audio player element to let Web sites and applications play audio clips in different formats.

However, older browsers without HTML5 support are still in use, so this jQuery plug-in can fallback to a Flash based audio player when HTML5 is not supported by the browser.

Manuel Lemos
Picture of Pierre-Henry Soria
Name: Pierre-Henry Soria <contact>
Classes: 4 packages by
Country: United Kingdom
Innovation award
Innovation award
Nominee: 3x

Details

# HTML5 Audio with <embed> fallback | jQuery Plugin ## Description Slim HTML5 Audio jQuery Plugin with <embed> fallback (this embed tag is in any case necessary for IE7 and 8). ## Example in HTML5 page <!-- Include the jQuery library --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> <!-- Include this Sound plugin --> <script src="http://your-site.com/static/js/jquery.sound.js"></script> $.sound.play('/path/to/media/background_music.mp3'); ## Author Pierre-Henry Soria ## Contact You can contact me at ph7software@gmail.com ## License [MIT License](http://opensource.org/licenses/mit-license.php)

Screenshots (1)  
  • HTML5-Sound-Plugin
  Files folder image Files (3)  
File Role Description
Plain text file jquery.sound.js Class Class source
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 66%
Total:532
This week:0
All time:47
This week:4Up