Video.js v10 - open source media player framework for HTML and React.
Modern, modular, and composable media player framework for Web and React.
Video.js v10 is stable. Build with it and share your feedback 🙏.
Looking for Video.js 8? It now lives in videojs/videojs-v8. Please open v8 issues and pull requests there.
Using an AI coding agent? Install the Video.js skill so it reads the docs that match your installed version before writing code.
Then print the version-matched installation choices for your framework. The command returns instructions without modifying your project:
npx @videojs/cli agents init
If you'd like to get started and learn more, you can find our documentation on our website:
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members:
We don't accept pull requests from outside the core team. We still want to hear from you, and your bug reports, ideas, and feedback decide what we work on. Read why we made this change.
Here's how to reach us:
Using a coding agent? Have it open an issue rather than a pull request, and say in the issue that an agent wrote it.
The contributing guide covers all of this in more detail, plus local setup if you want to run or fork the project.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Feature: Render Dialog Popup Content Only While the Dialog Is Open
https://github.com/videojs/video.js/issues/9930
Labels: enhancement
Bug: React Player Reads Date.now() During Render, Which Fails Next.js Cache Components Builds
https://github.com/videojs/video.js/issues/9928
Labels: bug, confirmed, triage
Bug: [react-native][iOS] Waiting Fires on Every Resume From Pause, Even With a Full Buffer
https://github.com/videojs/video.js/issues/9926
Labels: bug, confirmed, playback
Feature: CSS Variable for Poster Background
https://github.com/videojs/video.js/issues/9924
Labels: enhancement, documentation, triage
First off, thank you for taking the time to contribute to Video.js 10 ❤️ Your input helps shape the next generation of open web media players.
Video.js is a free and open source library. Contributions and project decisions are overseen by the Video.js Technical Steering Committee (TSC).
[!IMPORTANT] We don't accept pull requests from outside the core team. Pull requests from anyone who isn't a maintainer or collaborator are closed. Your bug reports, ideas, and feedback still decide what we build. [Read why we made this change][vjs-closing-prs].
[!NOTE] Contributing to Video.js 8? It now lives in videojs/videojs-v8. Please open v8 issues and pull requests there.
Sometimes code is the clearest way to describe a problem. If you've fixed something for yourself, link it from the issue:
pnpm patch, orWe won't merge it, but it shows us exactly what you needed, and we'll often use it as a starting point.
Agents are welcome to report problems too. Have yours open an issue rather than a pull request, include a reproduction, and say in the issue that an agent wrote it.
If we're working with you on something specific, we'll add you as a collaborator so you can open pull requests directly. Ask us in an issue, discussion, or on Discord.
This section is for maintainers and collaborators, and for anyone who wants to run the project locally, debug a problem, or keep a fork.
Video.js 10 is set up a monorepo using pnpm workspaces. As such, most scripts run will be done from the project/workspace root. Unless otherwise specified, assume commands and similar should be run from the root directory.
[!TIP] This repo includes tooling for AI-assisted development. See Using AI.
You’ll need the following installed:
[!TIP] PNPM will automatically use the correct Node version when running scripts. If you prefer NVM: after installing it, simply run
nvm usein the repo root. NVM keeps global packages per Node version, so after switching to a new version reinstall pnpm at the versionpackage.json'spackageManagernames:npm i -g pnpm@<version>. If you prefer mise: see Using mise — it manages pnpm for you too.
git clone https://github.com/{your-github-username}/video.js.git
cd video.js
git remote add upstream git@github.com:videojs/video.js.git
git fetch upstream
git branch --set-upstream-to=upstream/main main
To update your local main branch later:
git fetch upstream
git checkout main
git pull upstream main
pnpm install
This also exposes the checked-in .agents/skills/ catalog through generated .claude/skills/ and .opencode/skills/ directory aliases. AGENTS.md is the canonical project guide; Claude's CLAUDE.md imports it.
[!NOTE] Windows users: Directory aliases use junctions and work without Developer Mode. If alias creation fails,
pnpm installlogs a warning and continues; the checked-in domain folders remain available.
Then build all workspace packages:
pnpm build:packages
ℹ️ VS Code Users: the project may suggest extensions to enhance the developer experience. If imports like
reactare not resolving, set your TS version to the workspace one:CMD/CTRL + Shift + P→TypeScript: Select TypeScript Version→ Use Workspace Version.
mise is an alternative to Volta/NVM that manages both Node and pnpm from the checked-in mise.toml.
mise trust # once per clone; mise only reads configs you've trusted
mise install # provisions Node (from .nvmrc) and pnpm
mise run setup # pnpm install + pnpm build:packages
mise.toml also puts the workspace's node_modules/.bin on PATH, so biome, turbo, and tsgo can be run directly rather than through pnpm exec.
Everything else stays as documented below: use the pnpm scripts, not mise tasks. Personal additions, such as extra tools, environment variables, belong in a gitignored mise.local.toml or .env.local and not in the shared config.
One exception: apps/react-native has its own mise.toml for the native toolchains (JDK, Ruby, CocoaPods), and there mise is not optional. See its README.
To run the workspace in development mode:
pnpm dev
This will run the entire workspace in developer mode, meaning all applications (examples and website) will also be started on their respective ports.
pnpm dev and pnpm dev:packages prepare package outputs, then watch development JavaScript and CSS only to reduce memory use. Rest