@arraypress/waveform-player-svelte
v0.4.0
Published
Svelte 5 component wrapper for @arraypress/waveform-player — typed props for every option, callback props, exported imperative API, and SSR-safe mounting.
Maintainers
Readme
Waveform Player for Svelte
Svelte 5 component wrapper for @arraypress/waveform-player.
Typed props for every option, callback props, an exported imperative API, and SSR-safe mounting.
Install
npm install @arraypress/waveform-player-svelte @arraypress/waveform-player svelte<script lang="ts">
import { WaveformPlayer } from '@arraypress/waveform-player-svelte';
import '@arraypress/waveform-player/dist/waveform-player.css';
</script>
<WaveformPlayer url="/track.mp3" title="My Song" artist="The Artist" />Documentation
Full props, the imperative API, styling, and framework guides live on the docs site.
-> docs.waveformplayer.com
Svelte guide — install, props, the imperative API, and SSR notes. All four Svelte wrappers (player / bar / playlist) are on that page.
License
MIT © ArrayPress
