This is outdated documentation for wavesurfer.js v6!

Please refer to the new documentaton and examples.

Markers plugin

Markers plugin very similar to what Pro Tools gives you. Just a way to easily jump around in a waveform.

Quick start

Methods added to the WaveSurfer object

Options

Marker objects have the following options:

option type default description
time number The time in seconds to set the marker at
label string an optional marker label
color string background color for marker
position string "bottom" "top" or "bottom", defaults to "bottom"

WaveSurfer events