Files

@videojs/html

package-badge

@videojs/html is a comprehensive library for building media players with vanilla JavaScript and Web Components. It provides a complete set of Custom Elements, state management, controllers, and utilities for creating feature-rich, accessible video and audio players.

Playback engines are optional adapter packages. Install the adapter that matches the façade you import, for example:

pnpm add @videojs/html @videojs/hlsjs-video
import '@videojs/html/media/hlsjs-video';

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 version-matched HTML installation instructions. This command returns instructions without modifying your project; run it without flags to list every option:

npx @videojs/cli agents init --framework html

Documentation

Read the docs at videojs.org, or after installing, browse the bundled markdown at node_modules/@videojs/html/docs/ (start with llms.txt for the structured index).

Community

If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members:

License

Apache-2.0