simple-audio
v1.0.1
Published
Small Module to play audio using HTML audio tag
Downloads
100
Maintainers
Readme
simple-audio
Small Module to play audio using HTML audio tag
Also addresses the Chrome for Andriod issue 178297
Usage
HTML
<audio class="foo">
<source src="foo.mp3"></source>
<source src="foo.wav"></source>
<source src="foo.ogg"></source>
</audio>
JavaScript
var audio = require('simple-audio');
audio.playSound('foo');