Skip to content

dongdong-yang/jquery.audioplayer.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

jquery.audioplayer.js

This plugin focus on play audio on all browser, including iPad.

AudioPlayer('http://example.org/sound').play();

// or:

new AudioPlayer('http://example.org/sound').play();

// or:

var player=new AudioPlayer('http://example.org/sound');

var yourFunction=function(){
    // we have to preload audio in iPad in order to play it once needed.
    player.play();
}

Demo: https://jsfiddle.net/stupidong/to-do-later/

Enjoy it!

That's all folks!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published