-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
✅ Deploy Preview for web-dev-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
I haven't tested this btw, so it'll need an eyeball to check that it works with existing video content. |
Thanks for adding this, @jakearchibald! I did run a Percy test for this to see if any existing videos break. What I did: check out this branch, merge latest changes from main and manually update the web-infra package with the changes from GoogleChrome/webdev-infra#32. There's only one slight change, with the Mishipay case study (https://web.dev/mishipay/#scanning-products, just above this headline). The second portrait video now renders slightly smaller. Jake, are you fine with me committing to your branch with a potential fix for this? |
Nice!
Ohh, good catch! Here's the source for that embed:
Whereas the video resource is 600x1296, so this is author error, although due to the forced 16:9 ratio, it wasn't spotted. Correcting the width & height will fix this.
Yep! |
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.
Did some manual testing of this btw and LGTM (author errors aside).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To prevent this from happening, leave a comment. |
Not stale |
Now really stale. |
This is part of GoogleChrome/webdev-infra#28, to allow custom aspect ratios on video elements and reduce CLS.