Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

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');

About

Small Module to play audio using HTML <audio> tag

Resources

License

You can’t perform that action at this time.