docs(site): rework Google Cast concept page and move it in the sidebar#1806
Merged
decepulis merged 3 commits intoJul 7, 2026
Merged
Conversation
Move the Google Cast concept entry from the top of the Concepts section to the bottom, below the more foundational concepts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0146KwfYxv9abnktLTRvpd5A
Rework the Google Cast concept page to follow the docs skill conventions: code-first structure with the minimal setup up top, active voice, no gerund headings, framework-scoped config prose, fence titles on full examples, and first-mention links to the CastButton reference, skins, and Remote Playback pages. Also fix the intro to attribute the auto-appearing Cast button to the pre-built skins and document the availability values. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KjkkhfrjtAvA3fUCgjCAMZ
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (10)
Players (5)
Skins (30)
UI Components (39)
Sizes are marginal over the root entry point. ⚛️ @videojs/react — no changesPresets (7)
Media (9)
Skins (27)
UI Components (33)
Sizes are marginal over the root entry point. 🧩 @videojs/core — no changesEntries (14)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (10)
📦 @videojs/spf — no changesEntries (4)
ℹ️ How to interpretJS sizes are initial static graph totals (minified + brotli). Lazy dynamic chunks are shown separately when present.
Run |
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KjkkhfrjtAvA3fUCgjCAMZ
mihar-22
approved these changes
Jul 7, 2026
decepulis
added a commit
that referenced
this pull request
Jul 7, 2026
#1806) Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an AI-assisted pass which does some light restructuring and sentence reworking according to the rules in
writing-style.mdand the docs skill. There might be room for an additional human pass after this, too.It also moves the doc lower in the sidebar; imo Google Cast is important, but not the thing to be leading with.
Doc changes
Structure (concept template)
Voice (writing-style.md)
Accuracy (verified against the code)
packages/skinshidesdata-availability="unavailable"/"unsupported"buttons). The intro now attributes it to the skins and links the Skins concept.'connected'no longer says "Receiver is playing" (a connected session isn't necessarily playing); now "Session active; receiver has the media".remotePlaybackAvailabilityvalues in the Browser availability section.receiver,customData,src/contentType,streamTypefallback, HLS segment-format detection,disableRemotePlaybackgating the lazy SDK load) verified againstpackages/core/src/dom/media/google-cast/.Code examples (code-examples.md)
title="App.tsx"/title="index.html"on the full setup examples, multi-line attributes instead of single-line walls..cast-buttonwithout ever showing where that class comes from — the example now shows<CastButton className="cast-button" />first.Verification
pnpm build:sitepasses; both framework variants of the page render with the new content (checkeddist/docs/framework/{react,html}/concepts/cast/index.html).🤖 Generated with Claude Code
https://claude.ai/code/session_01KjkkhfrjtAvA3fUCgjCAMZ
Generated by Claude Code
Note
Low Risk
Documentation and sidebar ordering only; no runtime or API changes.
Overview
Reworks the Google Cast concept doc for clearer structure, voice, and accuracy, and moves it later in the Concepts sidebar (after accessibility).
The page now leads with full React/HTML setup examples and a
CastButton, then theory. Headings shift to imperative titles (Configure Cast, Read Cast state). Prose is more active; the intro no longer implies a Cast button appears without setup—it credits pre-built skins and links CastButton / Skins. Lifecycle and availability copy is tightened (connected≠ necessarily playing; all threeremotePlaybackAvailabilityvalues). Examples get file titles, multi-line snippets,// [!code focus]on config lines, and React CSS that showsclassName="cast-button"before the selector.docs.config.tsonly reorders{ slug: 'concepts/cast' }within Concepts.Reviewed by Cursor Bugbot for commit 90f3d6e. Bugbot is set up for automated code reviews on this repo. Configure here.