This is outdated documentation for wavesurfer.js v6!
Please refer to the new documentaton and examples.
Timeline plugin
Adds a simple timeline to your wavesurfer.js instances.
Quick start
- Add the Timeline plugin script tag
- Create a
WaveSurfer
instance - Add a container HTML element for the timeline
- Create a Timeline instance in the
WaveSurfer
's"ready"
event callback