feat(packages): add poster placeholder blur-up pattern#1632
Merged
ronald-urbina merged 9 commits intoJun 18, 2026
Conversation
👷 Deploy request for vjs10-site pending review.Visit the deploys page to approve it
|
|
@ronald-urbina is attempting to deploy a commit to the Mux Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
|
I checked out the preview and used network simulation as Slow 4G but it looks like it's just waiting and pulling down the full size image? |
sampotts
reviewed
Jun 12, 2026
sampotts
reviewed
Jun 12, 2026
sampotts
reviewed
Jun 12, 2026
sampotts
reviewed
Jun 12, 2026
sampotts
reviewed
Jun 12, 2026
sampotts
reviewed
Jun 12, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1075f3d. Configure here.
sampotts
approved these changes
Jun 17, 2026
Collaborator
|
Nice one, Cheers! |
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.

Add the poster placeholder blur-up pattern. Displays a low-resolution image behind the poster with a blur effect while the full poster loads matching the API established by Media Chrome (placeholdersrc) and Mux Player (placeholder).
both default and minimal skins render the placeholder via ::before with filter: blur(). The React variant fades in via an opacity transition keyed on data-visible; the HTML variant applies blur directly on media-poster::before.
Accepts a URL or data URI (inline blurhash output).
resolve 1438
Note
Low Risk
Additive UI/CSS API with optional props; poster visibility timing changes are localized to placeholder usage and load-state attributes.
Overview
Adds poster placeholder blur-up support so a low-res image can show behind the poster while the full asset loads (aligned with Media Chrome
placeholdersrcand Mux Playerplaceholder).React: New optional
placeholderon video skin props; skins set--media-poster-placeholderon the container.Postertracks load state viadata-loadedand keeps the full poster hidden until loaded so the blurred::beforelayer shows first, then crossfades in.HTML:
placeholdersrconSkinElement,PosterElement, and skin tags maps to the same CSS variable viaattributeChangedCallback.Skins: Default and minimal CSS and Tailwind paths add blurred
::beforelayers and:has()rules for the React load sequence; poster opacity rules now account fordata-loaded.Sandbox:
getPlaceholderSrc(Mux thumbnail atwidth=20),usePlaceholder, and mux-video HTML/React demos wire placeholders through.Design notes live in
internal/design/ui/poster-placeholder.md.Reviewed by Cursor Bugbot for commit 709b83c. Bugbot is set up for automated code reviews on this repo. Configure here.