Basics · Live example
Video and waveform
Attach a waveform to a video element and keep seeking and playback synchronized.
Playground: v8.0.0-beta.4. Written guides cover v7; check the version before copying code into your project.
Live preview
Interact with the waveform belowLoading example…
JavaScript
Open raw source · Edits stay in this page. Click Run to update the preview.
Try it yourself
Make it your own
Seek in the waveform and watch the video position change. Inspect how the existing media element is passed to WaveSurfer.
Understand the implementation in the guide, or look up the available options, methods, and events.