$.playSound('/assets/soundfile')
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 10adf99 Jun 21, 2017
Permalink
Failed to load latest commit information.
README.md Update README.md Jun 21, 2017
jquery.playSound.js More convinent Jan 26, 2017

README.md

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!