Skip to content

Add native lazy loading support for HTML video and audio tags #2400

Description

@adamsilverstein

Feature Description

Support native lazy loading for HTML video and audio tags when browsers implement this capability.

Adding native lazy loading extends WordPress's media performance improvements to cover video and audio tags as browsers release support. See ongoing work and discussion at whatwg/html#10376.

This feature would:

  • Detect native lazy loading support for video/audio tags
  • Automatically apply loading="lazy" attributes
  • Ensure compatibility and fallback for unsupported browsers

This will benefit publishers by improving page performance for media-heavy content without requiring manual configuration.

Activity

  1. moved this to Not Started/Backlog 📆 in WP Performance Ongoingon Feb 25, 2026
  2. adamsilverstein commented on Feb 25, 2026

    @adamsilverstein
    MemberAuthor

    I don't think we are doing this already, but worth checking. Perhaps this also makes sense as a Trac ticket.

  3. added
    [Plugin] Image PrioritizerDependent on Optimization Detective (optimization-detective) [slug: image-prioritizer]
    on Feb 25, 2026
  4. westonruter commented on Feb 25, 2026

    @westonruter
    Member

    The Image Prioritizer plugin is currently lazy-loading video and poster with JavaScript. So it'll be great to eliminate that in favor of this new web platform feature.

  5. westonruter commented on Mar 24, 2026

    @westonruter
    Member

    This has landed in the spec!

    Now awaiting implementation: https://caniuse.com/loading-lazy-media

  6. moved this from Not Started/Backlog 📆 to Code Review 👀 in WP Performance Ongoingon Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[Plugin] Image PrioritizerDependent on Optimization Detective (optimization-detective) [slug: image-prioritizer][Type] FeatureA new feature within an existing module

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions