@videojs/cli
v10.0.0-beta.23
Published
Video.js documentation CLI
Maintainers
Keywords
Readme
@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 --helpOr install globally:
npm install -g @videojs/cli
videojs --helpScripts below use
videojsfor brevity — substitutenpx @videojs/cliif you don't install globally.
Examples
Read a doc page:
videojs docs concepts/overviewGenerate 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.m3u8For 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:
