Search npm modules search

audio-player @1.1.0

Client-side HTML5 audio player

Share this code:
require("audio-player")

README

audio-player

Client-side HTML5 audio player

var Player = require('audio-player');
var player = new Player();

player.play('audio.mp3');
player.pause();
player.playPause('audio.mp3');
player.playPause('audio.mp3');

MIT License

Metadata