-
Notifications
You must be signed in to change notification settings - Fork 30
Add support for Cinemagraphs in articles #15097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
941cffe to
ef520e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to rename this component to better reflect that it's no longer just used for Looping videos
| /* | ||
| - MediaAtomBlockElement is used for self-hosted videos | ||
| - Historically, these videos have been self-hosted for legal or sensitive reasons | ||
| - These videos play in the `VideoAtom` component | ||
| - Looping videos, introduced in July 2025, are also self-hosted | ||
| - Thus they are delivered as a MediaAtomBlockElement | ||
| - However they need to display in a different video player | ||
| - We need to differentiate between the two forms of video | ||
| - We can do this by interrogating the atom's metadata, which includes the new attribute `videoPlayerFormat` | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this information can better be gleaned from git history but I am happy to be challenged on this
|
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
jonathonherbert
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all seems reasonable! Approving to unblock, but keen to test: I'll message in chat about that.
|
All tested, thanks @simonbyford! |
|
Seen on PROD (merged by @simonbyford 11 minutes and 20 seconds ago) Please check your changes! |
What does this change?
Adds support for Cinemagraphs in articles.
Follows on from: #14843
Screenshots
Before
cinemagraph-before.mp4
After
cinemagraph-after.mp4