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/mux-data
Mux Data telemetry for Video.js. This package owns the supported mux-embed runtime and can monitor native playback,
hls.js, dash.js, and other Video.js Media implementations without installing a playback engine.
It is an extension: it adds behavior to whichever media the player is playing.
pnpm add @videojs/html @videojs/mux-data
# or
pnpm add @videojs/react @videojs/mux-data
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 Mux Data:
npx @videojs/cli agents init --framework react --media mux-video --extensions mux-data
npx @videojs/cli agents init --framework html --media mux-video --extensions mux-data
Usage
import '@videojs/html/extensions/mux-data';
import { MuxData } from '@videojs/react/extensions/mux-data';