w3c / largest-contentful-paint

Specification for the LargestContentfulPaint API
https://w3c.github.io/largest-contentful-paint/
Other
88 stars 16 forks source link

Include autoplay videos #85

Open npm1 opened 2 years ago

npm1 commented 2 years ago

Currently the LCP algorithm considers poster images of video elements, but not autoplay videos. These can start playing without user input, so they could be viable LCP candidates. Our current thinking is that the first video frame would be the paint time, and the size is probably something similar to image elements. We'd like to assess the impact of this addition on the metric, and if it improves the quality of the metric then we'll add it.

alialali313 commented 10 months ago

التعامل بطريقه احسن