Skip to content

Prioritize loading poster image of video LCP elements #1183

@westonruter

Description

@westonruter

Feature Description

When a video is the LCP element and it has a poster image, we should prioritize the loading of that poster image with a fetchpriority=high preload link. This would be a simple addition to the existing logic that does the same for an img or background-image which is the LCP element.

This can be done as part of the Image Prioritizer plugin. See #1088.

Aside: if there is no poster, should an LCP video element also preload the video URL as well?

Metadata

Metadata

Assignees

Labels

[Plugin] Image PrioritizerIssues for the Image Prioritizer plugin (dependent on Optimization Detective)[Plugin] Optimization DetectiveIssues for the Optimization Detective plugin

Type

No type
No fields configured for issues without a type.

Projects

Status

Done 😃

Relationships

None yet

Development

No branches or pull requests

Issue actions