• Resolved medialps

    (@medialps)


    It would be very useful to have a new parameter “lazy=yes” to load the iframe with lazy loading, <iframe loading=”lazy“….> to speed up the loading times in wordpress.

    Or add by default to Line 61:

    $html .= ' loading="lazy"></iframe>'."\n";

    Would it be possible to add this in the next release? Thanks

    • This topic was modified 8 months, 2 weeks ago by medialps.
Viewing 1 replies (of 1 total)
  • Plugin Author webvitaly

    (@webvitaly)

    Hi @medialps

    You already can use this param in the iframe shortcode:

    [iframe src="https://www.youtube.com/embed/dUpTjDqjQoo" width="100%" height="500" loading="lazy"]

Viewing 1 replies (of 1 total)
  • The topic ‘Iframe lazy loading’ is closed to new replies.