Skip to content

Slim HTML5 Audio jQuery Plugin 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. It also inserts the embed container tab as fallback when the audio tag is not supported by the Web browser (e.g., IE7 and 8).

Notifications You must be signed in to change notification settings

pH-7/Slim-HTML5-Audio-jQuery-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

HTML5 Audio with fallback | jQuery Plugin

Description

Slim HTML5 Audio jQuery Plugin with 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 [email protected]

License

MIT License

About

Slim HTML5 Audio jQuery Plugin 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. It also inserts the embed container tab as fallback when the audio tag is not supported by the Web browser (e.g., IE7 and 8).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published