audio-component

0.1.0 • Public • Published

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

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i audio-component

    Weekly Downloads

    3

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • tjholowaychuk