Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

303
Visualizações
Does PageSpeed Insights recognize native lazy loading on iframes

I'm currently trying to get a better PageSpeed Insights score for our homepage. One of the biggest issues according to PageSpeed Insights is an embedded YouTube video (more precisely YouTubes base.js file which gets loaded when embedding a YouTube video). As the video is further down the page i added native lazy loading to the iframe. Now it looks like this:

<iframe src="https://www.youtube.com/embed/VIDEO_CODE?rel=0&amp;autohide=1&amp;showinfo=0" loading="lazy"></iframe>

It works perfectly when using a real browser. The YouTube video does not load at the beginning but if i scroll further down as it should be. But according to PageSpeed the YouTube video which shouldn't even be loaded is still reportet as the biggest blocking resource.

So my question is: did i do something wrong, or doesn't PageSpeed recognize native lazy loading for iframes and i need another JS based solution?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda