mirror of
https://github.com/videojs/video.js.git
synced 2026-11-21 08:24:15 +01:00
Co-authored-by: videojs-release[bot] <324600730+videojs-release[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@videojs/spotify-audio
Spotify embed playback adapter for Video.js. It exposes the adapter, its props, and defaults; the HTML and React façades live in @videojs/html and
@videojs/react.
pnpm add @videojs/html @videojs/spotify-audio
# or
pnpm add @videojs/react @videojs/spotify-audio
AI Quickstart
Using an AI coding agent? Install the Video.js skill so it reads the docs that match this package version before writing code. Then print installation instructions with this adapter selected:
npx @videojs/cli agents init --framework react --preset audio --media spotify
npx @videojs/cli agents init --framework html --preset audio --media spotify
Usage
import '@videojs/html/media/spotify-audio';