Socket
Book a DemoInstallSign in
Socket

audio-component

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

audio-component

Sexy audio player (requires audio tag support)

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

audio

FAQs

Package last updated on 05 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts