Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

iframe for YouTube embed: lazy loading doesn't work in Firefox

  • 1 baphendule
  • 1 inale nkinga
  • Igcine ukuphendulwa ngu TyDraniu

more options

My system is Firefox 79, Windows 10. Lazy loading is supported in Firefox since version 75:

I found that this works on Firefox for lazy loading of images. However, YouTube embedding in an iframe, it doesn't work. I ensured that the video is long way below the fold. Even then, the iframe is loaded upfront. This is the HTML for the iframe:

<iframe loading="lazy" src="" allowfullscreen="" width="480" height="270"></iframe>

On Chrome, lazy loading works as expected for the same web page (on my localhost).

All Replies (1)

more options

Hi, it doesn't work on Firefox yet. You have to follow bug 1622090.


Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.