Use for lazy-loading embedded videos?
See original GitHub issueI was trying to use this to lazy-load youtube videos embedded via their iframe widget, but unfortunately it doesn’t work (it tries to convert the iframe source to data:image/png;base64
).
Can this be updated to also support lazy-loading of iframes?
Example:
<iframe width="560" height="315" frameborder="0" v-lazy="'//www.youtube.com/embed/' + videoID" allowfullscreen></iframe>
I would expect this video to be lazy-loaded, but using the current version it throws an error.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Lazy load embedded YouTube videos | CSS-Tricks
This is a very clever idea via Arthur Corenzan. Rather than use the default YouTube embed, which adds a crapload of resources to...
Read more >How to properly configure "Lazy Loading" of a YouTube ...
In this article, I'm going to explain how to optimally load an embedded YouTube video using lazy loading with JavaScript. A.1. Include ...
Read more >How to “Lazy Load” Embedded YouTube Videos
In this tutorial I'll explain how to “lazy load” multiple embedded YouTube videos. Doing so will improve the performance of our initial page ......
Read more >Lazy loading video - web.dev
This post explains lazy loading and the options available to you when lazy loading video.
Read more >7 Best Youtube Lazy Loaders To Improve Page Speed (2022 ...
embedVideo is a simple-to-use jQuery plugin that helps you quickly embed Youtube videos into your webpages with lazy load support.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe wrap in
<client-only>
or<ssr>
?