Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for vjs-registry ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@videojs/cdn
@videojs/cli
@videojs/core
@videojs/element
@videojs/html
@videojs/media
@videojs/react
@videojs/spf
@videojs/store
@videojs/utils
@videojs/cloudflare-video
@videojs/dash-video
@videojs/hlsjs-video
@videojs/mux-audio
@videojs/mux-video
@videojs/native-hls-video
@videojs/shaka-video
@videojs/spotify-audio
@videojs/tiktok-video
@videojs/twitch-video
@videojs/vimeo-video
@videojs/wistia-video
@videojs/youtube-video
@videojs/google-cast
@videojs/mux-data
commit: |
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (18)
Players (5)
Skins (41)
UI Components (62)
⚛️ @videojs/react — no changesPresets (7)
Media (22)
Extensions (2)
Players (5)
Skins (26)
UI Components (39)
🧩 @videojs/core — no changesEntries (76)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (13)
📦 @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 changesEntries (3)
📦 @videojs/mux — no changes📦 @videojs/mux-audio — no changesEntries (2)
📦 @videojs/mux-data — no changes📦 @videojs/mux-video — no changesEntries (2)
📦 @videojs/native-hls-video — no changes📦 @videojs/shaka-video — no changes📦 @videojs/spf — no changesEntries (7)
📦 @videojs/spotify-audio — no changes📦 @videojs/tiktok-video — no changes📦 @videojs/twitch-video — no changes📦 @videojs/other — no changesEntries (3)
📦 @videojs/vimeo-video — no changes📦 @videojs/wistia-video — no changesEntries (2)
📦 @videojs/youtube-video — no changesℹ️ How to interpretEach 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 |
e13f495 to
f4c1938
Compare
SummaryClassification: inconclusive. The Registry consumers suite never started: its Playwright global setup failed while packaging workspace dependencies. Failed runRun 36810003534 · head Evidence
Likely causeVerified: this is a Inference: the available evidence does not tie the native stack overflow to this PR's source-only changes; it may be tooling/environmental. A package-layout or packing regression cannot be ruled out without reproducing the pack command. Recommended actions
|
6289e2e to
9c6e9e5
Compare
…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.
5c58d6e to
9659f46
Compare
|
Moved to videojs/video.js#9475, along with the repository. |
Summary
The AI Quickstart prompt on the installation guides and Build with AI 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 initdetects and guides the rest.Changes
agents initstating only the look, the media URL (ordemo), 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.node_modules/@videojs/<react|html>/docs/guides/. The page's text content equals the copied text, so selecting and copying by hand matches the Copy button.useOverflowCollapse,OverflowToggle).@videojs/installation. AddsinstallationCommandPartsandskillsCommandParts; the printed commands are unchanged. Guidance now names the sources each live preset plays and the media Google Cast can send.Implementation details
agentPromptViewbuilds one structure for the prompt: steps, feature list, and closing paragraph. The component renders it andagentPromptMarkdownserializes it, so the page and the copied text cannot drift apart. Hidden spans carry the separators and backticks the page draws with layout instead.AgentPromptPlayerPicks: preset, look, media, extensions, and media URL.localStorage; everything else resets per visit.Visual Evidence
Use this PR's deploy preview: open any installation guide, such as
/docs/guides/installation/react, and go to AI Quickstart. Try a suggestion (for example Course lessons), open More options, and use Show more, Undo, and Reset. Check at desktop width and at about 390px.Testing
pnpm -F site test: 957 passed, including new tests for suggestions, Undo, Reset scope, the feature list, collapse, copy feedback, and the URL field race.pnpm -F @videojs/installation test: 311 passed.pnpm -F site astro check: 0 errors.🤖 Generated with Claude Code