Icontem

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

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-08-01 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 512 All time: 44 This week: 16Up
Version License JavaScript version Categories
html5-audio 1.0MIT/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
Name: Pierre-Henry Soria <contact>
Classes: 4 packages by
Country: United Kingdom United Kingdom
Age: 26
All time rank: 242 in United Kingdom United Kingdom
Week rank: 35 Down4 in United Kingdom United Kingdom Down
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  
  • HTML5-Sound-Plugin
  Files folder image Files  
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:512
This week:0
All time:44
This week:16Up