Description
Currently the poster image is marked as loading="lazy", which isn't desirable all the times. In cases where the video is the main content of the page it should be marked as loading="eager" and fetchpriority="high" to make a good user experience and SEO.
#8038
Reduced test case
https://legacy.videojs.org/
Steps to reproduce
- Go to https://legacy.videojs.org/
- Check the
loading property of the posters img element.
Errors
No response
What version of Video.js are you using?
8.23.4
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Brave 1.89.137 Chromium: 147.0.7727.102
What OS(es) and version(s) does this occur with?
Ubuntu 22
Description
Currently the poster image is marked as
loading="lazy", which isn't desirable all the times. In cases where the video is the main content of the page it should be marked asloading="eager"andfetchpriority="high"to make a good user experience and SEO.#8038
Reduced test case
https://legacy.videojs.org/
Steps to reproduce
loadingproperty of the postersimgelement.Errors
No response
What version of Video.js are you using?
8.23.4
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Brave 1.89.137 Chromium: 147.0.7727.102
What OS(es) and version(s) does this occur with?
Ubuntu 22