Skip to content

component/audio

Repository files navigation

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

About

Sleek radial audio player skin for the <audio> tag

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •