You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set min-width: 0 and min-height: 0 on media-container in the HTML skins so that slotted portrait videos can’t force the shadow container past the skin host’s authored aspect ratio.
Set a max-height on the slider thumbnails so that portrait thumbs don't overflow. I could have gone fancy here and used cqb units but I think this simple fix is enough for now.
Added a portrait video example (Dar's Tailwind video) as a source option for future testing.
Low Risk
CSS and layout-only changes with new visual tests; no playback, auth, or data-path changes.
Overview
Fixes layout when portrait video is slotted into a skin with an authored 16:9 (or other) aspect ratio.
media-container in shared HTML skin CSS now uses min-width: 0 and min-height: 0 so slotted portrait media cannot expand the shadow container past the host’s aspect ratio.
Slider storyboard thumbnails in default and minimal skins (CSS and Tailwind) gain --media-slider-thumbnail-max-height: 8rem on the preview image, replacing the old loading-only container cap so tall portrait thumbs stay bounded.
Adds Playwright checks for authored aspect ratio and thumbnail height, plus sandbox source hls-6 (portrait Tailwind HLS) for manual testing.
Reviewed by Cursor Bugbot for commit a64a67f. Bugbot is set up for automated code reviews on this repo. Configure here.
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
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.
min-width: 0andmin-height: 0onmedia-containerin the HTML skins so that slotted portrait videos can’t force the shadow container past the skin host’s authored aspect ratio.max-heighton the slider thumbnails so that portrait thumbs don't overflow. I could have gone fancy here and usedcqbunits but I think this simple fix is enough for now.Closes #1716
Note
Low Risk
CSS and layout-only changes with new visual tests; no playback, auth, or data-path changes.
Overview
Fixes layout when portrait video is slotted into a skin with an authored 16:9 (or other) aspect ratio.
media-containerin shared HTML skin CSS now usesmin-width: 0andmin-height: 0so slotted portrait media cannot expand the shadow container past the host’s aspect ratio.Slider storyboard thumbnails in default and minimal skins (CSS and Tailwind) gain
--media-slider-thumbnail-max-height: 8remon the preview image, replacing the old loading-only container cap so tall portrait thumbs stay bounded.Adds Playwright checks for authored aspect ratio and thumbnail height, plus sandbox source
hls-6(portrait Tailwind HLS) for manual testing.Reviewed by Cursor Bugbot for commit a64a67f. Bugbot is set up for automated code reviews on this repo. Configure here.