Repository navigation
Conversation
useMedia had a demo but no page, and the capability guards are the only type-safe way to use what it returns. The useMedia demo now re-renders once media can play, so it shows the loaded source and dimensions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
Adds `apis` frontmatter, plus a sentence where a page only implied it, for the i18n types (Translations, Translator, Locale, I18nContext, i18nContext, I18nContextValue), locale pack default exports, UnknownStore, the option item types of the use-*-options hooks, HotkeyShortcutDetails, and the Google Cast and Mux Data element classes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
A new Presets sidebar group documents the video, audio, live video, live audio, and background presets: each preset's player, feature bundle and its type, skins, media, and exports. PresetFeatures renders one preset's features from the generated preset reference so the list can't drift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
UIElement is the base class every custom-element example extends, and the icon sets are public for building your own controls (and for the shadcn registry). The PlayerController page now explains the shared playerContext it takes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
…rthy-7ams8m-pages
Under the Components tab, the preset pages moved the directory that tab's llms files share from reference/components to reference. A Presets tab keeps each tab's pages in one directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The page documents it as useSelector's default comparator and passes it in its example. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
@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 |
…rthy-7ams8m-pages
✅ 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. |
Drop the top-level Presets tab. The five preset pages now sit in a Presets group in the API tab, after Player. They move to reference/api/preset-*.mdx so the API tab's pages still share reference/api, where its llms files are written. The Presets guide links to each page. Also correct two preset details: null clears your title or poster so the media's value shows, and the background player has no player-input attributes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
- PlayerController: without a selector, value is the base player store with no feature state or actions. - PropertyDeclaration.attribute defaults to the property name as-is. - IconTable: drop the decorative preview columns from llms output, give screen readers the icon name and set, and size previews with size-4.5. - PresetFeatures: mute the empty-description dash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
- UIElement: explain its relation to Lit's ReactiveElement and document ReactiveController and ReactiveControllerHost. - renderElement: add a Types section for UIComponentProps, RenderProp, RenderFunction, and HTMLProps. - TimeSlider: describe TimeSliderChapterState where renderChapter is documented. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
The reference-writing guide and the write-api-reference skill now describe the current sidebar tabs and groups, preset pages at reference/api/preset-*.mdx, and the Icons page. They also note that each tab's pages must share a directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
…rthy-7ams8m-pages
…rthy-7ams8m-pages
|
Different browsers failed on each run. This PR's only package change is a JSDoc comment in Generated by Claude Code |
…rthy-7ams8m-pages
…rthy-7ams8m-pages
…rthy-7ams8m-pages
…rthy-7ams8m-pages
…rthy-7ams8m-pages
|
The Website Tests Generated by Claude Code |
|
The
I'll compare against the other PRs' Generated by Claude Code |
mihar-22
left a comment
There was a problem hiding this comment.
Stack review (Claude, cross-checked with Codex gpt-6.1-sol). I checked the new pages against package source, and the remaining claims hold up. Two items below.
…rthy-7ams8m-pages
Main's #3092 renamed the minimal skins, their icon set, CDN bundles, and UI entry points to neutral. The preset pages, the icons page, and `IconTable` were written before that, so they now use the new names. Also stops the `UIElement` page's `ClockController` example from leaking its interval when the element is destroyed while connected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
…rthy-7ams8m-pages
|
E2E (chromium) failed on 4a585c4. The failing test is I don't think this PR caused it:
I've re-run the failed job once. If it fails again, I'll treat it as a real failure and investigate. Generated by Claude Code |
…rthy-7ams8m-pages
…rthy-7ams8m-pages
#3026 added @videojs/{react,html}/icons/compat beside the default and neutral sets. List it on the Icons page and show its previews in the icon table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH
Part 4 of the API stability stack: #3073 → #3063 → #3066 → this PR → #3082 → #3068 → #3083.
Summary
With the checker's rule, an export is stable only if a reference page documents it. This PR adds pages for the public APIs the docs already rely on, and makes existing pages document the APIs they only implied.
New pages
PresetFeaturescomponent builds each feature table from the generated preset reference, so the list can't drift from the code.useMedia(React): the standalone andcreatePlayerforms, and whatMediais. It reuses the existinguse-mediademo, which now re-renders once the media can play.isMedia*CapableandhasMetadataguards that@videojs/reactand@videojs/htmlre-export. For each guard, the page shows what it checks, what it narrows to, and a React and HTML example.UIElement(HTML): the base class that every custom-element example extends, with a demo.player-controllernow explains the sharedplayerContext.main's feat(skin): add compat skin #3026), in both frameworks, with anIconTablegenerated from the public icon exports.Existing pages. Where the prose only implied an API, a sentence was added to document it: the i18n types, the option item types of the
use-*-optionshooks,HotkeyShortcutDetails, the time slider's chapter state,renderElement's types, and the Google Cast and Mux Data element classes.register-i18ngains a "Built-in locale packs" section.What the check reads. The check in #3063 reads each guard's code heading and each preset's Exports table, and a documented export's types make the types it names stable. So
apisfrontmatter is left only where nothing else names an export:I18nContext,i18nContext,playerContext,shallowEqualPreview pages
New pages (please read these in both frameworks):
useMedia: ReactUIElement: HTMLChanged pages:
PlayerController(playerContext): HTMLregisterI18n(built-in locale packs): React · HTMLcreateTranslatorReact · HTML,I18nControllerHTML,I18nProviderReact,useLocaleReact,useTranslatorReactuseAudioTrackOptionsReact,useCaptionsOptionsReact,usePlaybackRateOptionsReact,useQualityOptionsReact,useHotkeyShortcutReact,useSelectorReact,renderElementReactReviewer notes
PresetFeaturesandIconTableuse the sharedTableat the reading column's width, like Markdown tables.IconTablenow has a Compat preview column. TheUIElementdemo has its own scoped CSS.reference/presets/*under Components changed the directory that tab's llms files share, fromreference/componentstoreference.llms-markdown.test.tscaught this.I18nContextValuefor HTML also covers React's version, which has more fields. CoveringI18nContextfor React also covers the HTML type.document.querySelector('video-player')?.store.target?.media, the only public path I found. Its examples also need an import from@videojs/html/videoforvideo-player's element typing, because@videojs/html/video/player's.d.tsisexport {}. That's a typing gap in the package.PlayerControllerfrom@videojs/html/videofails type-checking, becausepresets/video/player.d.tsreferences aVideoPlayerStorethat the bundled namespace doesn't contain. This is not fixed here.Testing
pnpm -F site astro check: 0 errors, 0 warnings.pnpm -F site test: all pass exceptmarkdown-negotiation, which needsURLPattern. That's available from Node 24, which the repo pins in.nvmrc; the sandbox runs Node 22, and nothing in this stack touches that test.pnpm -F site check:api-stabilityon chore(store): check and tag store's public exports #3083's branch, which contains this one: all 1,966 checked exports are documented, referenced or tagged.🤖 Generated with Claude Code
https://claude.ai/code/session_01WLkDiofiR86hzNgRopBotH