Nostalgic Punchcard Missing

    simple-audio

    1.0.1 • Public • Published

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

    Install

    npm i simple-audio

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • mauricebutler