@videojs/mux-video
v10.0.0-rc.2
Published
Mux playback adapter for Video.js, over hls.js
Readme
@videojs/mux-video
The Video.js playback adapter for Mux-hosted video, over hls.js. It owns the Mux
source model (playback IDs, tokens, DRM, posters, storyboards) and builds on @videojs/hlsjs-video, which owns the
hls.js runtime.
Installation
Install the adapter with the framework façade your player uses:
pnpm add @videojs/html @videojs/mux-video
# or
pnpm add @videojs/react @videojs/mux-videoUsage
import '@videojs/html/media/mux-video';import { MuxVideo } from '@videojs/react/media/mux-video';Low-level consumers can import the Media directly:
import { MuxVideoAdapter } from '@videojs/mux-video';