Typed Astro component wrapper for @arraypress/waveform-player.
Every library option as a prop, data-* serialisation handled for you, plus optional lazy-mount for large grids.
npm install @arraypress/waveform-player-astro @arraypress/waveform-player---
import WaveformPlayer from '@arraypress/waveform-player-astro';
---
<WaveformPlayer src="/track.mp3" title="My Song" artist="The Artist" waveformStyle="mirror" />Full setup, every prop, the imperative API and SSR notes live on the docs site.
Astro guide — install, props, the imperative API, and SSR notes. All four Astro wrappers (player / bar / playlist) are on that page.
MIT © ArrayPress