Skip to content

MauriceButler/simple-audio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published