Opened 5 years ago
Last modified 2 months ago
#5859 new defect (bug)
Improve video thumbnail images
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | high | |
| Component: | WordPress.tv | Keywords: | performance seo needs-patch |
| Cc: |
Description (last modified by )
Video thumbnail images (those in 'grids layouts') on pages like https://wordpress.tv/, https://wordpress.tv/category/year/2017/ and https://wordpress.tv/tag/translation/page/2/ (excluding the video/thumbnail in the hero 'player' element when present) should be loaded more efficiently.
Specifically:
- The thumbnail should be generated/requested at an appropriate size (160x100)*
- A
loading="lazy"property should be added. - Explicit
heightandwidthproperties should be added. - If available, an
srcsetproperty should reference ax2size option (at 320x200).
*E.g., https://videos.files.wordpress.com/bjn9Fo1g/video-33873a5e9c_mp4.scrubthumb.jpg, which is currently on the homepage, is loaded at 1920x1080, but squashed into a 160x100 space
Change History (2)
Note: See
TracTickets for help on using
tickets.
Issue Confirmation
I tested the video grid thumbnails on WordPress.tv and can confirm the issue.
Observations
loading="lazy"attribute is present.widthandheightattributes are missing.srcsetis defined for higher resolution displays.Suggested Improvements
loading="lazy"for better performance.widthandheightattributes to improve layout stability.srcsetwith a 2x variant (e.g., 320x200) for high-density screens.Impact
This would significantly improve page load performance, reduce data usage, and enhance Core Web Vitals.
Additional Notes
Happy to help test any patches or proposed implementations.