Submit your widget

Simple lightweight jQuery plugin with AudioControls

Created 5 years ago   Views 12780   downloads 2584    Author arunkumarsekar
 Simple lightweight jQuery plugin with AudioControls
View DemoDownload 2.1 MB
Share |

AudioControls simple lightweight jQuery plugin, helps you to create your own audio player, playlist and additional features.

Include script after the jQuery library (unless you are packaging scripts somehow else):

<script src="/path/to/jquery.audioControls.js"></script>

Do not include the script directly from GitHub ( The file is being served as text/plain and as such being blocked in Internet Explorer on Windows 7 for instance (because of the wrong MIME type). Bottom line: GitHub is not a CDN.

Data Attributes

Data attributes are heart of this plugin, attributes helps to detect and enables audio controls.

HTML attribute key must be data-attr

<a href="#" class="play" data-attr="playPauseAudio"></a>

This will enable Play and Pause control for the anchor tag.

Read more: