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/dash-video
The Video.js playback adapter for dash.js. Install it with the HTML or React package when your player uses DASH playback.
pnpm add @videojs/html @videojs/dash-video
# or
pnpm add @videojs/react @videojs/dash-video
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 --media dash
npx @videojs/cli agents init --framework html --media dash
Usage
import '@videojs/html/media/dash-video';
import { DashVideo } from '@videojs/react/media/dash-video';
Low-level consumers can import DashAdapter from @videojs/dash-video.