Skip to content

An audio player web component built in Stencil.JS that uses Wavesurver to generate the waveform in the player.

License

Notifications You must be signed in to change notification settings

robruiz/WSAudioPlayer

Repository files navigation

Built With Stencil

Wavesurfer Audio Player

This is an extremely lightweight and efficient standalone audio player web component that will work anywhere on the web. It automatically analyzes the audio's waveform and draws it in the player. It also provides some simple current play time and full time duration of the audio file.

This player is completely responsive.

Attributes

AttributeDescription
audio the relative file location of the audio file you are loading including file name and extension
title title of the song/clip
color the desired color of the waveform
height the desired height of the waveform
theme Currently only "basic" and "dark" are supported. If attribute is not provided, it will default to basic

About

An audio player web component built in Stencil.JS that uses Wavesurver to generate the waveform in the player.

Resources

License

Stars

Watchers

Forks

Packages

No packages published