Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 311 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 311 Bytes

jQuery playSound

This plugin defines $.playSound function.

 $.playSound('http://example.org/sound.wav')
 $.playSound('/attachments/sounds/1234.wav')
 $.playSound('/attachments/sounds/1234.mp3')
 
 //Stop Sound
 $.stopSound();

Demo: https://jsfiddle.net/admsev/xscxya0g/

Enjoy it!

That's all folks!