Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve media-poster component flexibility #1762

Copy link
Copy link

Description

@bienbiendev
Issue body actions

Related Problem:

Using web component :

It is not possible to pass specific attributes eg. fetchpriority="high" to the poster img.
As a workaround defining the img myself inside the media-poster ends with 2 img tag inside the media-poster.

Describe:

I'd like to be able to pass some other props to the img tag eg. loading="lazy" or fetchpriority="high".
Also it would be great to be able to define explicitly the img inside the media-poster.

This would fix some SEO issue :

  • LCP repaint
  • LCP request discovery
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.