Skip to content

arraypress/waveform-playlist

Repository files navigation

WaveformPlaylist

Playlist and chapter navigation for WaveformPlayer. Turn a list of tracks into a player with track switching, artwork and clickable chapters.

npm version gzip size license

Documentation · npm


Install

npm install @arraypress/waveform-playlist @arraypress/waveform-player
<div data-waveform-playlist>
  <div data-track data-url="episode.mp3" data-title="Episode 42" data-artist="with Dr. Sarah Chen">
    <div data-chapter data-time="0:00">Introduction</div>
    <div data-chapter data-time="5:30">Main Topic</div>
  </div>
</div>

Documentation

Full options, chapters and the JavaScript API live in the docs.

Options · Chapters · API

License

MIT © ArrayPress