feat(packages): add resolved rendition to auto label#1698
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
163cb54 to
443307a
Compare
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 443307a. Configure here.
📦 Bundle Size Report🎨 @videojs/html
Presets (7)
Media (9)
Players (5)
Skins (30)
UI Components (38)
Sizes are marginal over the root entry point. ⚛️ @videojs/react
Presets (7)
Media (8)
Skins (27)
UI Components (32)
Sizes are marginal over the root entry point. 🧩 @videojs/core — no changesEntries (11)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (10)
📦 @videojs/spf — no changesEntries (4)
ℹ️ How to interpretAll sizes are standalone totals (minified + brotli).
Run |
443307a to
7cbf8a0
Compare

Summary
Screenshots
Note
Low Risk
UI and quality-state plumbing with tests; no auth or playback-selection behavior changes beyond labeling and read-only active sync.
Overview
When quality is set to Auto, the UI now shows which rendition is actually playing (e.g. Auto (720p)) in the quality menu, settings hint, and React options.
This adds an
activeflag on video renditions and anactivechangeevent on the rendition list. HLS wiring setsactivefromLEVEL_SWITCHED. The quality store exposesactiveVideoRendition, preferring an explicit active rendition and otherwise inferring fromvideoWidth/videoHeightonresizewhen the match is unambiguous.QualityRadioGroupCoregainsautoLabelfor this string; HTML/React consumers use it instead of a fixed Auto. Skin templates wrap label and tier in a single span for layout.Reviewed by Cursor Bugbot for commit 7cbf8a0. Bugbot is set up for automated code reviews on this repo. Configure here.