mirror of
https://github.com/zoriya/v10.git
synced 2026-08-05 13:48:14 +00:00
1.4 KiB
1.4 KiB
@videojs/cli
⚠️ Beta Experimental adoption in real projects.
The Video.js 10 CLI. Read documentation from your terminal and generate installation snippets tailored to your setup (framework, preset, skin, media engine, package manager).
Install
Run without installing:
npx @videojs/cli --help
Or install globally:
npm install -g @videojs/cli
videojs --help
Scripts below use
videojsfor brevity — substitutenpx @videojs/cliif you don't install globally.
Examples
Read a doc page:
videojs docs concepts/overview
Generate a framework-specific installation snippet interactively:
videojs docs how-to/installation \
--framework react \
--preset video \
--skin default \
--media hls \
--install-method pnpm \
--source-url https://example.com/video.m3u8
For full usage, run videojs --help, videojs docs --help, or videojs config --help.
Community
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members: