PSA: Largest Contentful Paint now includes videos

27 views
Skip to first unread message

Ian Clelland

unread,
Sep 10, 2023, 5:18:16 AM9/10/23
to blink-dev
We've recently ramped up a change to Chromium's Largest Contentful Paint algorithm to better handle videos and animated bitmap images.

Videos without poster images were previously not included in LCP calculations at all, but will now be considered eligible LCP candidates when the first frame is rendered. (This will generally only apply to large muted autoplaying videos only, as videos with sound require a user interaction to begin playing, and LCP is only counted up until the first interaction on the page)

Animated bitmap images will also use the timing of their first rendered frame, rather than waiting until the data has been completely downloaded. For pages where an animated image is the largest painted element, this should generally result in an improvement to LCP scores.

For more details, see the changelog.
Reply all
Reply to author
Forward
0 new messages