Skip to content
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

Prioritize loading poster image of video LCP elements #1498

Merged
merged 10 commits into from
Oct 15, 2024
3 changes: 3 additions & 0 deletions plugins/image-prioritizer/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ function image_prioritizer_register_tag_visitors( OD_Tag_Visitor_Registry $regis

$bg_image_visitor = new Image_Prioritizer_Background_Image_Styled_Tag_Visitor();
$registry->register( 'bg-image-tags', $bg_image_visitor );

$video_visitor = new Image_Prioritizer_Video_Tag_Visitor();
$registry->register( 'video-tags', $video_visitor );
swissspidy marked this conversation as resolved.
Show resolved Hide resolved
}