-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy load thumbnail image #49
Comments
🎉 Addressed at #47, already in latest version! |
Are you sure? I don't want to replace the image, I just want to instruct the browser to lazily load it. |
Ok @Fox32 , back to issues, this is a simple one, maybe I'll add as a sensive default also! Thanks! |
This is was one of these things you think you be easy but... We don't use the
I don't think the lazy option is available outside the I think this lib you at the time not able to provide this exactly option because of implementation (an is already using Thanks, |
Hi team, I'm currently facing this same issue and I can't find any solution somewhere else. Do you have a solution to lazy load the thumbnail now? Using the 2.4.0 version of your lib. Thanks for your help |
Is your feature request related to a problem? Please describe.
Running a lighthouse audit on my side, I get the following suggestion:
Describe the solution you'd like
I would like to lazy load the thumbnail image to save bandwidth and load time, especially if the video is embedded at the bottom of my page. Maybe the feature is configurable on the enabled.
Describe alternatives you've considered
None
Additional context
Right now a background image is used for the thumbnail. It's not possible to use the native lazy loading for background images. Maybe we have to switch too using an
<img>
tag instead. We could still stack the image, iframe and button over each other. The only problem I see is centering the image and keeping it's aspect ration, but that should be possible too.The text was updated successfully, but these errors were encountered: