mirror of
https://github.com/videojs/video.js.git
synced 2026-11-20 06:29:27 +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/google-cast
The Google Cast extension for Video.js.
pnpm add @videojs/html @videojs/google-cast
# or
pnpm add @videojs/react @videojs/google-cast
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 that include Google Cast:
npx @videojs/cli agents init --framework react --media hls --extensions google-cast
npx @videojs/cli agents init --framework html --media hls --extensions google-cast
Usage
import '@videojs/html/extensions/google-cast';
import { GoogleCast } from '@videojs/react/extensions/google-cast';