audio-component

Sexy audio player (requires audio tag support)

npm install audio-component
3 downloads in the last week
16 downloads in the last month

audio

Sexy radial audio player skin for the <audio> tag.

html5 audio tag style

Installation

$ component install component/audio

Example

<audio src="your-source-here"></audio>
<script>
  var audio = require('audio');
  var el = document.querySelector('audio');
  audio(el);
</script>

API

.toggle()

Toggle play state.

.play()

Start playback.

.pause()

Pause playback.

License

MIT

npm loves you