Skip to content

feat(site): ai quickstart prompt builder - #9475

Draft
mihar-22 wants to merge 21 commits into
mainfrom
t3code/ai-prompt-builder-cli-values
Draft

mihar-22 wants to merge 21 commits into
mainfrom
t3code/ai-prompt-builder-cli-values

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Moved from videojs/v10#3023.

Summary

The AI Quickstart prompt on the installation guides, Build with AI, and the migration guides asked readers to set every CLI flag themselves, which felt like a questionnaire. It now asks one optional question, what you're building, and the prompt works as is. agents init detects and guides the rest, and now plans features, migrations, and Mux uploads itself.

Changes

  • Intent-first form. Only "What are you building? (optional)" shows. Its suggestions, such as Podcast, Course lessons, Live event, or YouTube videos, set up the player they describe: preset, media, skin, extensions, and features. Goal, features, media, skin, and agent sit under More options, with a one-line summary of their current values. Media and skin share the installation stores with the guide's own pickers, so a change in one place shows in both.
  • Read-only prompt. Two numbered steps with highlighted commands: install the Video.js skill, then run agents init stating only the skin, the media URL (or demo), the features, the migration, and choices that differ from the defaults. The prompt tells the agent what the command detects and what it explains, rather than asking the agent to decide. Copied, it's Markdown, and the page's text content equals the copied text, so selecting and copying by hand matches the Copy button.
  • Design and Browsers. The skin is picked in the reader's words. Design offers "Either works" (Default), "Apply my brand to yours" (Neutral), and "Build my own design" (no skin, hidden for Shadcn, which always ships a skin), with skin previews a click away. Browsers offers "Include older browsers" (Compat). agents init's skin guidance asks the same question: neutral when the project applies its brand or wants a subtler look, none when it builds its own design, default when either works, and compat when the player must work in older browsers.
  • Features and migrations as flags. agents init gains --features, checked against the preset, and --from, the player an existing project migrates from. The plan points at each feature's guide in the installed package, opens a migration with its guide and the checks to make before changing code, and ends by removing the old player. The prompt passes both flags instead of listing guides itself, and migration guides use the prompt builder with their migration selected in place of the static prompt.
  • Mux CLI uploads. With Mux media, a local file passed as --source-url adds a first step that uploads it with the Mux CLI, and a live preset without a URL adds one that creates a Mux live stream. Demo Mux media gets an optional upload step. Each step asks the user to sign in and keeps credentials and stream keys out of the code.
  • Media and hosting. The Media field is a menu of the preset's sources, grouped like the guide's picker and marked with their logos. Paste a media URL and Upload to Mux open the media dialog. A new guide, Choose where to host your video (guides/video-hosting), explains what hosting gives the player: adaptive streams for a quality menu, storyboards for thumbnail previews, ingest for live streams, and analytics. It recommends Mux and covers Cloudflare Stream, platform embeds, and your own files. When a quality menu, thumbnail previews, or a live stream needs more than a file, the prompt's hosting hint links to that guide, as do the installation guides and Build with AI. HLS and DASH suggestions offer Host on Mux instead, Mux media offers Viewer analytics (Mux Data), and the prompt points the agent at the Mux MCP server.
  • Reset. Reset returns the answers and the player picks only, leaving the guide's package manager, starting point, and styling alone. The remembered agent stays.
  • Collapsed by default. A tall prompt collapses like a code frame, with Show more and Show less. Code frames now share that collapse (useOverflowCollapse, OverflowToggle).
  • Hand-off. The copy menu copies a terminal command that starts Claude Code, Codex, or Cursor with the prompt, or opens it in Cursor, Claude, or ChatGPT. The docs page's Copy page menu gains Open in Cursor.
  • Analytics. The builder sends the events the static prompt did. Copying the prompt sends code_copied and an agent_handoff (copy-agent-prompt). Copying a terminal command (copy-agent-command) and each Open in link, including the new open-in-cursor on both the prompt and the Copy page menu, send an agent_handoff. Links in the prompt carry a destination tag, and Mux links carry the prompt's attribution.
  • Installation guides. The steps from choosing a framework to running the app sit under a Manual installation heading, so the page shows two ways to install.
  • @videojs/installation. Adds installationCommandParts and skillsCommandParts; the printed commands are unchanged. Guidance names the sources each live preset plays and the media Google Cast can send.
  • Changes from main. Video-React (docs(site): add the video-react migration guide #9397) joins --from and the Goal select. Its guide exists only for React, so agents init rejects --from video-react for another framework, and the Goal select offers it only on React pages. The Scaffold skin (feat(skin): add scaffold skin #9251) gets a label and a dashed-square icon in the skin control. The Design question has no answer that picks Scaffold yet, so a Scaffold pick from the skin previews reads as "Either works".
Implementation details
  • agentPromptView builds one structure for the prompt: steps, command options, and closing paragraph. The component renders it and agentPromptMarkdown serializes it, so the page and the copied text cannot drift apart. Hidden spans carry the separators and backticks the page draws with layout instead.
  • Suggestions and Reset change only AgentPromptPlayerPicks: preset, skin, media, extensions, and media URL.
  • Changing the preset drops features it can't use, through a store listener, so they don't linger unseen.
  • The media URL field no longer overwrites a URL written from outside, such as a finished Mux upload, with a stale debounced draft.
  • The coding agent is remembered in localStorage; everything else resets per visit. A goal picked under another framework, such as the React-only Video-React migration, gives way to the page's.

Visual Evidence

Use this PR's deploy preview. Open an installation guide, such as /docs/guides/installation/react, and go to AI Quickstart. Try a suggestion (for example Course lessons), open More options, change Media, Design, and Browsers, and use Show more and Reset. Also check a migration guide's AI Quickstart, such as /docs/framework/react/guides/migrate-from-video-react. Check at desktop width and at about 390px.

Testing

  • pnpm -F @videojs/installation test: 316 passed.
  • pnpm -F site test: 1166 passed in 103 files.
  • pnpm -F site astro check: 0 errors, 0 warnings.
  • pnpm typecheck: passed.
  • pnpm build:site, then pnpm -F site check:link-analytics: every off-site link carries its analytics tags.
  • Not rechecked in a browser after the rebase onto main.

🤖 Generated with Claude Code

…dance

Add `installationCommandParts` and `skillsCommandParts`, which `installationCommand` and
`skillsCommand` now join, so an interface can present each option on its own while the printed
commands stay the same.

Preset guidance names the sources each live preset plays, and media guidance keeps platform
media on the platform's own adapter. Extension guidance names the media Google Cast can send,
from the newly exported `GOOGLE_CAST_RENDERERS`.
Move the code frame's overflow measurement, expanded state, scroll restoration, and Show more or
Show less control into `useOverflowCollapse` and `OverflowToggle`, so other tall content can
collapse the same way. Code frames keep their height, slack, and look.
…ilding

Replace the per-flag prompt builder with an intent-first form. Readers answer one optional
question, what they are building, with suggestions that set up the player they describe; the
goal, features, media, look, and agent wait under More options with a summary of their values.

The prompt below is read-only Markdown in two numbered steps: install the Video.js skill, then run
`agents init` stating only the look, media, and choices that differ from the defaults, and leave
detection and guidance to the CLI. Feature requests become a list pointing at each installed guide.
A tall prompt collapses like a code frame, Undo reverts a suggestion until the reader edits what it
set, and Reset returns only the player picks the prompt shares with the guide.

The copy menu can start Claude Code, Codex, or Cursor with the prompt, or open it in Cursor,
Claude, or ChatGPT; the page's Copy page menu gains Open in Cursor.
The site type check only accepts a string or number for `toHaveTextContent`.
Refine the AI Quickstart suggestions to 15, common products first. Drop the DASH audio-language
promise, keep thumbnail previews for Mux media, which provides storyboards, and keep a pasted
URL when a suggestion names the same media. The setup line names the extensions installed.

Add one Mux line under the request when Mux would help: a live preset needs an ingest point, a
quality menu needs an adaptive stream, thumbnail previews need a storyboard, or the demo could
be the reader's own upload. Upload links open the media dialog. HLS and DASH suggestions offer
Host on Mux instead, Mux media offers Viewer analytics (Mux Data), and the prompt points the
agent at the Mux MCP server. The upload success state says what Mux provides.

Installation guides choose the media before the skin, and they and Build with AI describe Mux
the same way.
The Media field is a menu of the preset's sources, grouped as the guide's picker groups them and
marked with their logos, with Paste a media URL and Upload to Mux opening the media dialog.
Switching to another kind of media goes back to its demo, since the new player can't play the
reader's URL.

Drop the Mux line about demo media and the suggestion's Undo, which Reset covers, and give More
options a little more room.
The AI Quickstart form, its summary, and the setup line said Look where the rest of the docs
say skin.
AI Quickstart read as the first of the installation steps. Put the steps from choosing a
framework to running the app under a Manual installation heading, one level down, so the page
and its table of contents show two ways to install, with Own the UI and what to do next after
both. The headings the skin picker and media install components render move down with them.
…nts init

Add --features, a comma-separated list of player features checked against the preset, and
--from, the player an existing project migrates from. The plan points at each feature's guide
in the installed package, opens a migration with its guide and the checks to make before
changing code, and ends it with removing the old player.

With Mux media, a local file passed as --source-url adds a first step that uploads it with the
Mux CLI, and a live preset without a URL adds one that creates a Mux live stream. Demo Mux media
gets an optional upload step. Each step asks the user to sign in and keeps credentials and
stream keys out of the code.
…flags

The AI Quickstart prompt passes --features and --from to agents init instead of listing feature
guides itself, so the command's version-matched output carries them. A migration leaves the
skin, media, and extensions to the existing player, and Vidstack joins the goals. Migration
guides use the prompt builder with their migration selected, in place of the static prompt.
The builder replaces the static prompt, so it sends the same events: a copied prompt counts as
copied code and an agent handoff, and copying a terminal command or opening another app counts
as a handoff too. Opening the copy page in Cursor gets its own handoff method.
Explain what hosting gives the player: adaptive streams for a quality menu, storyboards for
thumbnail previews, ingest for live streams, and analytics. Recommend Mux, with Cloudflare
Stream, platform embeds, and your own files as alternatives, and link it from the pages that
mention Mux hosting.
The hint for a quality menu, thumbnail previews, or a live stream that needs more than a file now
links to choosing video hosting rather than to a Mux upload or Mux's docs. Mux links the prompt
renders carry its attribution.
The skin guidance asks whether the project applies its brand to our design, which uses neutral,
or builds its own, which uses none, and keeps default when either works. Once the skins include
compat, it uses compat for a player that must work in older browsers.
Replace the Skin field with Design: apply my brand to yours for Neutral, build my own design for
no skin, or either works for Default, with the skin previews a click away. A Browsers question
for older browsers picks Compat once the installation package offers it.
With compat released, the Browsers question appears, and the skin icon and label include it.
The skin control labels each skin flag, and main added scaffold after the prompt builder was
written. Name it Scaffold, beside its dashed-square glyph.
…jects

Video-React is a React library, and its migration guide exists only for React. `agents init`
rejects `--from video-react` for another framework, and the prompt's Goal select offers the
migration only on React pages, where a goal picked under another framework gives way to the page's.
@pkg-pr-new

pkg-pr-new Bot commented Oct 12, 2026

Copy link
Copy Markdown
@videojs/cdn

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/cdn@9475

@videojs/cli

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/cli@9475

@videojs/core

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/core@9475

@videojs/element

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/element@9475

@videojs/html

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/html@9475

@videojs/media

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/media@9475

@videojs/react

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/react@9475

@videojs/spf

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/spf@9475

@videojs/store

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/store@9475

@videojs/utils

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/utils@9475

@videojs/cloudflare-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/cloudflare-video@9475

@videojs/dash-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/dash-video@9475

@videojs/hlsjs-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/hlsjs-video@9475

@videojs/mux-audio

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/mux-audio@9475

@videojs/mux-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/mux-video@9475

@videojs/native-hls-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/native-hls-video@9475

@videojs/playerjs-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/playerjs-video@9475

@videojs/shaka-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/shaka-video@9475

@videojs/spotify-audio

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/spotify-audio@9475

@videojs/tiktok-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/tiktok-video@9475

@videojs/twitch-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/twitch-video@9475

@videojs/vimeo-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/vimeo-video@9475

@videojs/wistia-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/wistia-video@9475

@videojs/youtube-video

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/youtube-video@9475

@videojs/google-cast

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/google-cast@9475

@videojs/mux-data

pnpm add https://pkg.pr.new/videojs/video.js/@videojs/mux-data@9475

commit: 98a9f57

@github-actions

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

🎨 @videojs/html — no changes
Presets (7)
Entry Initial Lazy
/video (default) 65.78 kB 56.03 kB
/video (default + hls) 67.52 kB 56.03 kB
/video (neutral) 66.21 kB 56.03 kB
/video (neutral + hls) 67.93 kB 56.03 kB
/audio (default) 49.56 kB 56.03 kB
/audio (neutral) 49.85 kB 56.03 kB
/background 12.83 kB 56.03 kB
Media (19)
Entry Initial
/media/mux-video 3.03 kB
/media/mux-audio 2.71 kB
/media/background-video 1.17 kB
/media/cloudflare-video 2.91 kB
/media/dash-video 2.63 kB
/media/hls-audio 23.79 kB
/media/hls-background-video 17.67 kB
/media/hls-video 34.18 kB
/media/hlsjs-video 2.64 kB
/media/mux-background-video 17.68 kB
/media/native-hls-video 8.93 kB
/media/playerjs-video 3.00 kB
/media/shaka-video 2.64 kB
/media/spotify-audio 3.03 kB
/media/tiktok-video 3.14 kB
/media/twitch-video 2.94 kB
/media/vimeo-video 2.92 kB
/media/wistia-video 615 B
/media/youtube-video 2.91 kB
Players (5)
Entry Initial Lazy
/video/player 10.99 kB 56.03 kB
/audio/player 7.21 kB 56.03 kB
/background/player 5.34 kB 56.03 kB
/live-video/player 10.36 kB 56.03 kB
/live-audio/player 7.21 kB 56.03 kB
Skins (53)
Entry Type Initial Lazy
/video/compat-skin.css css 7.57 kB —
/video/neutral-skin.css css 8.38 kB —
/video/scaffold-skin.css css 6.58 kB —
/video/skin.css css 8.10 kB —
/video/compat-skin js 63.02 kB 56.03 kB
/video/compat-skin2 js 7.54 kB —
/video/neutral-skin js 63.84 kB 56.03 kB
/video/neutral-skin2 js 8.37 kB —
/video/scaffold-skin js 60.87 kB 56.03 kB
/video/scaffold-skin2 js 6.59 kB —
/video/skin js 63.49 kB 56.03 kB
/video/skin2 js 8.08 kB —
/audio/compat-skin.css css 6.23 kB —
/audio/neutral-skin.css css 6.07 kB —
/audio/scaffold-skin.css css 5.64 kB —
/audio/skin.css css 5.80 kB —
/audio/compat-skin js 54.80 kB 56.03 kB
/audio/compat-skin2 js 6.22 kB —
/audio/neutral-skin js 47.62 kB 56.03 kB
/audio/neutral-skin2 js 6.05 kB —
/audio/scaffold-skin js 53.50 kB 56.03 kB
/audio/scaffold-skin2 js 5.65 kB —
/audio/skin js 47.23 kB 56.03 kB
/audio/skin2 js 5.78 kB —
/background/skin.css css 141 B —
/background/skin js 10.25 kB 56.03 kB
/background/skin2 js 159 B —
/live-video/compat-skin.css css 7.02 kB —
/live-video/neutral-skin.css css 6.85 kB —
/live-video/scaffold-skin.css css 6.16 kB —
/live-video/skin.css css 6.75 kB —
/live-video/compat-skin js 53.98 kB 56.03 kB
/live-video/compat-skin2 js 7.00 kB —
/live-video/neutral-skin js 51.11 kB 56.03 kB
/live-video/neutral-skin2 js 6.86 kB —
/live-video/scaffold-skin js 52.02 kB 56.03 kB
/live-video/scaffold-skin2 js 6.18 kB —
/live-video/skin js 50.95 kB 56.03 kB
/live-video/skin2 js 6.74 kB —
/live-audio/compat-skin.css css 5.72 kB —
/live-audio/neutral-skin.css css 4.77 kB —
/live-audio/scaffold-skin.css css 5.21 kB —
/live-audio/skin.css css 4.67 kB —
/live-audio/compat-skin js 41.26 kB 56.03 kB
/live-audio/compat-skin2 js 5.71 kB —
/live-audio/neutral-skin js 36.37 kB 56.03 kB
/live-audio/neutral-skin2 js 4.77 kB —
/live-audio/scaffold-skin js 40.04 kB 56.03 kB
/live-audio/scaffold-skin2 js 5.22 kB —
/live-audio/skin js 36.22 kB 56.03 kB
/live-audio/skin2 js 4.66 kB —
/global.css css 239 B —
/shadow.css css 78 B —
UI Components (62)
Entry Initial Lazy
/ui/airplay-button 11.71 kB 56.03 kB
/ui/alert-dialog 8.99 kB 56.03 kB
/ui/audio-track-radio-group 11.81 kB 56.03 kB
/ui/buffering-indicator 9.06 kB 56.03 kB
/ui/captions-button 11.95 kB 56.03 kB
/ui/captions-radio-group 11.87 kB 56.03 kB
/ui/cast-button 11.67 kB 56.03 kB
/ui/container 9.91 kB 56.03 kB
/ui/controls 9.21 kB 56.03 kB
/ui/controls-backdrop 1.69 kB 56.03 kB
/ui/controls-content 1.67 kB 56.03 kB
/ui/dialog 8.92 kB 56.03 kB
/ui/dialog-backdrop 1.70 kB 56.03 kB
/ui/dialog-close 2.06 kB 56.03 kB
/ui/dialog-description 1.69 kB 56.03 kB
/ui/dialog-popup 1.90 kB 56.03 kB
/ui/dialog-title 1.69 kB 56.03 kB
/ui/error-dialog 12.83 kB 56.03 kB
/ui/fullscreen-button 11.69 kB 56.03 kB
/ui/gesture 10.14 kB 56.03 kB
/ui/hotkey 10.55 kB 56.03 kB
/ui/live-button 10.23 kB 56.03 kB
/ui/menu 19.38 kB 56.03 kB
/ui/menu-checkbox-item 1.97 kB 56.03 kB
/ui/menu-content 7.65 kB 56.03 kB
/ui/menu-group 2.09 kB 56.03 kB
/ui/menu-group-label 1.64 kB —
/ui/menu-item 2.29 kB 56.03 kB
/ui/menu-item-indicator 1.38 kB 56.03 kB
/ui/menu-radio-group 3.03 kB 56.03 kB
/ui/menu-radio-item 2.14 kB 56.03 kB
/ui/menu-separator 1.30 kB 56.03 kB
/ui/mute-button 11.70 kB 56.03 kB
/ui/pip-button 11.66 kB 56.03 kB
/ui/play-button 11.65 kB 56.03 kB
/ui/playback-rate-button 11.75 kB 56.03 kB
/ui/playback-rate-radio-group 11.81 kB 56.03 kB
/ui/popover 8.77 kB 56.03 kB
/ui/poster 9.36 kB 56.03 kB
/ui/quality-radio-group 12.34 kB 56.03 kB
/ui/seek-button 11.69 kB 56.03 kB
/ui/seek-indicator 13.54 kB 56.03 kB
/ui/seek-indicator-value 1.10 kB —
/ui/slider 12.04 kB 56.03 kB
/ui/slider-preview 2.01 kB 56.03 kB
/ui/status-announcer 11.10 kB 56.03 kB
/ui/status-indicator 13.48 kB 56.03 kB
/ui/status-indicator-value 1.10 kB —
/ui/thumbnail 10.77 kB 56.03 kB
/ui/time 11.50 kB 56.03 kB
/ui/time-slider 13.94 kB 56.03 kB
/ui/time-slider-chapter-title 9.25 kB 56.03 kB
/ui/time-slider-chapters 10.08 kB 56.03 kB
/ui/title 8.63 kB 56.03 kB
/ui/tooltip 10.15 kB 56.03 kB
/ui/tooltip-label 1.21 kB —
/ui/tooltip-shortcut 1.18 kB —
/ui/volume-indicator 13.43 kB 56.03 kB
/ui/volume-indicator-fill 1.11 kB —
/ui/volume-indicator-value 1.10 kB —
/ui/volume-popover 15.36 kB 56.03 kB
/ui/volume-slider 12.75 kB 56.03 kB
⚛️ @videojs/react — no changes
Presets (7)
Entry Initial Lazy
/video (default) 59.37 kB 56.03 kB
/video (default + hls) 60.01 kB 56.03 kB
/video (neutral) 59.46 kB 56.03 kB
/video (neutral + hls) 60.04 kB 56.03 kB
/audio (default) 46.31 kB 56.03 kB
/audio (neutral) 46.26 kB 56.03 kB
/background 894 B 56.03 kB
Media (23)
Entry Initial
/media/mux-video/hls-js 1.60 kB
/media/mux-video/spf 1.60 kB
/media/mux-audio/hls-js 1.27 kB
/media/mux-audio/spf 1.26 kB
/media/background-video 624 B
/media/cloudflare-video 1.92 kB
/media/dash-video 1.25 kB
/media/hls-audio 22.63 kB
/media/hls-background-video 17.84 kB
/media/hls-video 33.05 kB
/media/hlsjs-video 1.25 kB
/media/mux-audio 1.26 kB
/media/mux-background-video 17.86 kB
/media/mux-video 1.59 kB
/media/native-hls-video 7.72 kB
/media/playerjs-video 1.87 kB
/media/shaka-video 1.26 kB
/media/spotify-audio 1.99 kB
/media/tiktok-video 1.92 kB
/media/twitch-video 1.96 kB
/media/vimeo-video 1.90 kB
/media/wistia-video 1.44 kB
/media/youtube-video 1.90 kB
Extensions (2)
Entry Initial
/extensions/google-cast 613 B
/extensions/mux-data 665 B
Players (5)
Entry Initial Lazy
/video/player 8.83 kB 56.03 kB
/audio/player 5.05 kB 56.03 kB
/background/player 3.16 kB 56.03 kB
/live-video/player 8.22 kB 56.03 kB
/live-audio/player 5.06 kB 56.03 kB
Skins (34)
Entry Type Initial Lazy
/video/compat-skin.css css 7.45 kB —
/video/neutral-skin.css css 8.21 kB —
/video/scaffold-skin.css css 6.46 kB —
/video/skin.css css 7.92 kB —
/video/compat-skin js 60.24 kB 56.03 kB
/video/neutral-skin js 59.25 kB 56.03 kB
/video/scaffold-skin js 59.14 kB 56.03 kB
/video/skin js 59.09 kB 56.03 kB
/audio/compat-skin.css css 6.07 kB —
/audio/neutral-skin.css css 5.89 kB —
/audio/scaffold-skin.css css 5.48 kB —
/audio/skin.css css 5.60 kB —
/audio/compat-skin js 51.48 kB 56.03 kB
/audio/neutral-skin js 46.06 kB 56.03 kB
/audio/scaffold-skin js 50.79 kB 56.03 kB
/audio/skin js 46.06 kB 56.03 kB
/background/skin.css css 97 B —
/background/skin js 392 B —
/live-video/compat-skin.css css 6.90 kB —
/live-video/neutral-skin.css css 6.68 kB —
/live-video/scaffold-skin.css css 6.05 kB —
/live-video/skin.css css 6.58 kB —
/live-video/compat-skin js 56.13 kB 56.03 kB
/live-video/neutral-skin js 48.59 kB 56.03 kB
/live-video/scaffold-skin js 55.13 kB 56.03 kB
/live-video/skin js 48.70 kB 56.03 kB
/live-audio/compat-skin.css css 5.56 kB —
/live-audio/neutral-skin.css css 4.58 kB —
/live-audio/scaffold-skin.css css 5.05 kB —
/live-audio/skin.css css 4.47 kB —
/live-audio/compat-skin js 42.64 kB 56.03 kB
/live-audio/neutral-skin js 33.93 kB 56.03 kB
/live-audio/scaffold-skin js 42.05 kB 56.03 kB
/live-audio/skin js 33.93 kB 56.03 kB
UI Components (39)
Entry Initial Lazy
/ui/airplay-button 11.42 kB 56.03 kB
/ui/alert-dialog 5.21 kB 56.03 kB
/ui/audio-track 8.54 kB 56.03 kB
/ui/audio-track-radio-group 10.87 kB 56.03 kB
/ui/buffering-indicator 8.60 kB 56.03 kB
/ui/captions-button 11.40 kB 56.03 kB
/ui/captions-radio-group 10.96 kB 56.03 kB
/ui/cast-button 11.40 kB 56.03 kB
/ui/controls 8.49 kB 56.03 kB
/ui/dialog 5.19 kB 56.03 kB
/ui/error-dialog 12.80 kB 56.03 kB
/ui/fullscreen-button 11.38 kB 56.03 kB
/ui/gesture 8.76 kB 56.03 kB
/ui/hotkey 9.18 kB 56.03 kB
/ui/live-button 9.72 kB 56.03 kB
/ui/menu 22.18 kB 56.03 kB
/ui/mute-button 11.42 kB 56.03 kB
/ui/pip-button 11.39 kB 56.03 kB
/ui/play-button 11.36 kB 56.03 kB
/ui/playback-rate 8.59 kB 56.03 kB
/ui/playback-rate-button 11.33 kB 56.03 kB
/ui/playback-rate-radio-group 10.94 kB 56.03 kB
/ui/popover 9.12 kB 56.03 kB
/ui/poster 8.80 kB 56.03 kB
/ui/quality 8.97 kB 56.03 kB
/ui/quality-radio-group 11.28 kB 56.03 kB
/ui/seek-button 11.39 kB 56.03 kB
/ui/seek-indicator 13.26 kB 56.03 kB
/ui/slider 14.59 kB 56.03 kB
/ui/status-announcer 11.03 kB 56.03 kB
/ui/status-indicator 13.54 kB 56.03 kB
/ui/thumbnail 9.97 kB 56.03 kB
/ui/time 10.81 kB 56.03 kB
/ui/time-slider 16.86 kB 56.03 kB
/ui/title 8.09 kB 56.03 kB
/ui/tooltip 9.98 kB 56.03 kB
/ui/volume-indicator 13.55 kB 56.03 kB
/ui/volume-popover 15.70 kB 56.03 kB
/ui/volume-slider 13.20 kB 56.03 kB
🧩 @videojs/core — no changes
Entries (76)
Entry Initial Lazy
. 13.52 kB —
/dom 24.20 kB 56.03 kB
/vjsc 1.90 kB —
/i18n 3.20 kB 56.03 kB
/i18n/locales/all 33.91 kB —
/i18n/locales/ar 1.16 kB —
/i18n/locales/az 1.08 kB —
/i18n/locales/bg 1.29 kB —
/i18n/locales/bn 1.25 kB —
/i18n/locales/bs 1.02 kB —
/i18n/locales/ca 1.04 kB —
/i18n/locales/cs 1.10 kB —
/i18n/locales/cy 1.02 kB —
/i18n/locales/da 984 B —
/i18n/locales/de 1.06 kB —
/i18n/locales/el 1.42 kB —
/i18n/locales/en 801 B —
/i18n/locales/es 999 B —
/i18n/locales/et 1.02 kB —
/i18n/locales/eu 1.04 kB —
/i18n/locales/fa 1.21 kB —
/i18n/locales/fi 1.05 kB —
/i18n/locales/fr 1.01 kB —
/i18n/locales/gd 1.09 kB —
/i18n/locales/gl 1017 B —
/i18n/locales/he 1.10 kB —
/i18n/locales/hi 1.25 kB —
/i18n/locales/hr 1.05 kB —
/i18n/locales/hu 1.10 kB —
/i18n/locales/id 953 B —
/i18n/locales/it 1.01 kB —
/i18n/locales/ja 1.16 kB —
/i18n/locales/ko 1.08 kB —
/i18n/locales/lt 1.04 kB —
/i18n/locales/lv 1.09 kB —
/i18n/locales/mr 1.23 kB —
/i18n/locales/nb 990 B —
/i18n/locales/ne 1.23 kB —
/i18n/locales/nl 1.01 kB —
/i18n/locales/nn 983 B —
/i18n/locales/oc 1.05 kB —
/i18n/locales/pl 1.11 kB —
/i18n/locales/pt 1.02 kB —
/i18n/locales/pt-BR 1.02 kB —
/i18n/locales/pt-PT 1.02 kB —
/i18n/locales/ro 1.04 kB —
/i18n/locales/ru 1.36 kB —
/i18n/locales/sk 1.10 kB —
/i18n/locales/sl 1.04 kB —
/i18n/locales/sr 1.05 kB —
/i18n/locales/sv 1.01 kB —
/i18n/locales/te 1.29 kB —
/i18n/locales/th 1.20 kB —
/i18n/locales/tr 1.00 kB —
/i18n/locales/uk 1.37 kB —
/i18n/locales/vi 1.10 kB —
/i18n/locales/zh 1.01 kB —
/i18n/locales/zh-CN 1.01 kB —
/i18n/locales/zh-TW 1.02 kB —
/i18n/text/airplay 101 B —
/i18n/text/buttons 137 B —
/i18n/text/captions 93 B —
/i18n/text/cast 114 B —
/i18n/text/common 90 B —
/i18n/text/container 75 B —
/i18n/text/errors 285 B —
/i18n/text/fullscreen 98 B —
/i18n/text/live 126 B —
/i18n/text/menu 249 B —
/i18n/text/pip 101 B —
/i18n/text/playback 80 B —
/i18n/text/seek 105 B —
/i18n/text/slider 65 B —
/i18n/text/status 222 B —
/i18n/text/time 322 B —
/i18n/text/volume 133 B —
🏷️ @videojs/element — no changes
Entries (2)
Entry Initial
. 1.05 kB
/context 1.15 kB
📦 @videojs/store — no changes
Entries (3)
Entry Initial
. 1.85 kB
/html 703 B
/react 511 B
🔧 @videojs/utils — no changes
Entries (13)
Entry Initial
/array 271 B
/dom 5.25 kB
/events 320 B
/function 414 B
/i18n 249 B
/jwt 176 B
/object 535 B
/predicate 297 B
/percent 281 B
/string 239 B
/style 212 B
/time 1018 B
/number 199 B
📦 @videojs/cdn — no changes
📦 @videojs/cloudflare-video — no changes
📦 @videojs/dash-video — no changes
📦 @videojs/google-cast — no changes
📦 @videojs/hlsjs-video — no changes
📦 @videojs/media — no changes
Entries (3)
Entry Initial
. 3.29 kB
/dom 4.00 kB
/media-tracks 2.05 kB
📦 @videojs/mux — no changes
📦 @videojs/mux-audio — no changes
Entries (2)
Entry Initial
. 142.22 kB
/spf 22.99 kB
📦 @videojs/mux-data — no changes
📦 @videojs/mux-video — no changes
Entries (2)
Entry Initial
. 142.05 kB
/spf 33.26 kB
📦 @videojs/native-hls-video — no changes
📦 @videojs/playerjs-video — no changes
📦 @videojs/shaka-video — no changes
📦 @videojs/spf — no changes
Entries (7)
Entry Initial
. 4.56 kB
/dom 7.89 kB
/hls 28.58 kB
/media-tracks 507 B
/hls-background-video 16.67 kB
/hls-audio 21.58 kB
/hls-video 31.96 kB
📦 @videojs/spotify-audio — no changes
📦 @videojs/tiktok-video — no changes
📦 @videojs/twitch-video — no changes
📦 @videojs/other — no changes
Entries (3)
Entry Initial
video.js 390 B
video.js/package.json 593 B
video.js/errors 1.04 kB
📦 @videojs/vimeo-video — no changes
📦 @videojs/wistia-video — no changes
Entries (2)
Entry Initial
. 1.91 kB
/helpers 1.76 kB
📦 @videojs/youtube-video — no changes

ℹ️ How to interpret

Each entry is independently bundled, minified, and brotli-compressed. Initial size includes its static import graph; lazy dynamic chunks are reported separately.

Entries are not additive because their dependency graphs overlap. Preset rows represent realistic combined bundles.

Changes of 300 B or less across initial, lazy, and total size are collapsed, not discarded.

Run pnpm size locally to check current initial sizes.

@netlify

netlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vjs10-site ready!

Name Link
🔨 Latest commit 98a9f57
🔍 Latest deploy log https://app.netlify.com/projects/vjs10-site/deploys/6acd49cd456683c9f1568ca5
😎 Deploy Preview https://deploy-preview-9475--vjs10-site.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vjs-registry ready!

Name Link
🔨 Latest commit 98a9f57
🔍 Latest deploy log https://app.netlify.com/projects/vjs-registry/deploys/6acd49cde75ab727941aebf0
😎 Deploy Preview https://deploy-preview-9475--vjs-registry.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant