Upgrading video.js from 8.x to 10.x
Comparison of the public API of video.js 8.24.2 and 10.1.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 1 |
| Changed signatures | 1 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 1 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 7 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
video.js | version | type | string |
Changed signatures
| export | Before | After |
|---|---|---|
video.js · default | (id: string | Element, options?: any, ready?: PlayerReadyCallback | undefined): Player | (...args: unknown[]): never |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
| export | @deprecated |
|---|---|
video.js · default | Video.js 8 API. Throws `VJS8_LEGACY_INIT`. |
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | ^22.13.0 || >=24 | — |
New exports (7)
| import | export | kind |
|---|---|---|
video.js | options | variable |
video.js | getPlayer | function |
video.js | getPlugin | function |
video.js | getComponent | function |
video.js | LegacyVideojs | interface |
video.js | registerPlugin | function |
video.js | registerComponent | function |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading video.js from 8 to 10?
Between video.js 8.24.2 and 10.1.0, Vigia found 1 removed exports, 1 changed signatures and 0 removed or changed class or interface members.
What became deprecated in video.js 10?
1 exports or members are newly marked as deprecated in video.js 10.1.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/video.js/upgrade?from=8.24.2&to=10.1.0