Title: Iframe lazyloading
Last modified: February 25, 2021

---

# Iframe lazyloading

 *  Resolved [bluisier](https://wordpress.org/support/users/bluisier/)
 * (@bluisier)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/iframe-lazyloading/)
 * Hi Florian,
 * Thanks again for creating and maintaining this awesome plugin!
 * I just have a quick question for you. I use the option to lazyload Iframes on
   my website. The Iframes seems to lazyload (I have the noscript tag, the class
   lazyloaded and the attribute loading=”lazy” in my Iframes). But the problem is
   when I chack the network tab of my browser (latest chrome), the scripts coming
   from the Iframes are still loaded on page load before I scroll down to the Iframe.
   Is there a way to delay the load of the cripts coming from the Iframes?
 * Thanks a lot for your time
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fiframe-lazyloading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * (@florianbrinkmann)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/iframe-lazyloading/#post-14100390)
 * Hi [@bluisier](https://wordpress.org/support/users/bluisier/),
 * it seems to work fine in Firefox. Do you have the option for native lazy loading
   enabled (should be, because the `loading="lazy"` is there)? If so, could you 
   try to disable it and see if that helps?
 * Best,
    Florian
 *  Thread Starter [bluisier](https://wordpress.org/support/users/bluisier/)
 * (@bluisier)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/iframe-lazyloading/#post-14101391)
 * Hi [@florianbrinkmann](https://wordpress.org/support/users/florianbrinkmann/),
 * THANK YOU!!! That did the trick. I disabled native lazy loading and now I don’t
   have all the Iframe scripts loading on chrome anymore. Do you know why this was
   hapenning?
 *  Plugin Author [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * (@florianbrinkmann)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/iframe-lazyloading/#post-14101479)
 * Hi [@bluisier](https://wordpress.org/support/users/bluisier/),
 * great to hear that! 🙂 And thanks for your donation ❤ I will mark this as resolved.
 * To your question: When native lazy loading is used, browsers that support native
   lazy loading (like Chrome) decide when to load a resource, and not the lazysizes
   script.
 * And the result is that some browsers load things that are far away from the visible
   area, and as far as I know, that is nothing that can currently be modified. In
   this post ([https://addyosmani.com/blog/lazy-loading/](https://addyosmani.com/blog/lazy-loading/))
   I found a link to chromium code ([https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/settings.json5;drc=e8f3cf0bbe085fee0d1b468e84395aad3ebb2cad;l=937-1003](https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/settings.json5;drc=e8f3cf0bbe085fee0d1b468e84395aad3ebb2cad;l=937-1003))
   that says iFrames are loaded at least 4000px before visible.
 * Best,
    Florian

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Iframe lazyloading’ is closed to new replies.

 * ![](https://ps.w.org/lazy-loading-responsive-images/assets/icon-256x256.png?rev
   =1305473)
 * [Lazy Loader](https://wordpress.org/plugins/lazy-loading-responsive-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lazy-loading-responsive-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-loading-responsive-images/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-loading-responsive-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-loading-responsive-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-loading-responsive-images/reviews/)

## Tags

 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [Lazyload](https://wordpress.org/support/topic-tag/lazyload/)

 * 3 replies
 * 2 participants
 * Last reply from: [Florian Brinkmann](https://wordpress.org/support/users/florianbrinkmann/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/iframe-lazyloading/#post-14101479)
 * Status: resolved