Using the Player SDK
The Viostream Player SDKs allow you to easily embed and control the Viostream Player in your web applications. We provide SDKs for React, Vue, Svelte, Angular, and vanilla JavaScript, making it easy to integrate the player into your projects regardless of your preferred framework.
Use the SDKs when you need programmatic control over the player — for example, responding to play/pause events, seeking to a time offset, or building a fully custom playback UI. For straightforward embedding without custom behaviour, use the standard iframe or script embed.
tip
Consult the README on each package's NPM page for the latest documentation and usage examples.
Player SDKs
| Framework | Package | Version |
|---|---|---|
| React | @viostream/viostream-player-react | |
| Vue | @viostream/viostream-player-vue | |
| Svelte | @viostream/viostream-player-svelte | |
| Angular | @viostream/viostream-player-angular | |
| Vanilla JS | @viostream/viostream-player-core |