@arraypress/waveform-player-astro
v0.7.0
Published
Astro component wrapper for @arraypress/waveform-player — typed props for every option, lazy-mount support, framework-idiomatic ergonomics.
Maintainers
Readme
Waveform Player for Astro
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.
Install
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" />Documentation
Full setup, every prop, the imperative API and SSR notes live on the docs site.
-> docs.waveformplayer.com
Astro guide — install, props, the imperative API, and SSR notes. All four Astro wrappers (player / bar / playlist) are on that page.
License
MIT © ArrayPress
