sa
simple-audio
npm i simple-audio
sa

simple-audio

Small Module to play audio using HTML <audio> tag

by Maurice Butler

1.0.1 (see all)License:MITTypeScript:Not Found
npm i simple-audio
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');

Downloads/wk

1

GitHub Stars

10

LAST COMMIT

5yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.0.1
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate