• Resolved bringerllc

    (@bringerllc)


    Hello,

    I’ve been using this plugin for a while with no problems, it’s great! So good that I decided to also go with WP Rocket, but WP Rocket’s YouTube lazyload didn’t work for me so I went with this one for lazy loading images, videos and iframes.

    Now I have an ad partner who tells me I need to disable lazy loading iFrames because it will conflict with the ads. But I am using the standard YouTube embed block everywhere on my site so disabling it will make all my pages significantly slower.

    How can I lazy-load only YouTube iframes and not all other iframes? So it only checks if the iframe is a YouTube video and then proceeds. It will be very beneficial for sites who both want lazy loaded YouTube videos but also need to run ads.

    The checkbox for “Replace Youtube videos by thumbnail” does not work for me unless the “Iframes & Videos” checkbox is also selected”.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi @bringerllc.

    How can I lazy-load only YouTube iframes and not all other iframes?

    Please check this article for more info on how you might be able to do this:

    Disable LazyLoad for Iframes

    The checkbox for “Replace Youtube videos by thumbnail” does not work for me unless the “Iframes & Videos” checkbox is also selected”.

    I just tested this on my own site and it seems to be working for me — can you please share the URL to a page on your site where it’s not working, so we can look at that?

    Best regards,
    Shelley

    • This reply was modified 4 years, 3 months ago by WP Media. Reason: Add greeting
Viewing 1 replies (of 1 total)
  • The topic ‘Only lazyload YouTube iframes’ is closed to new replies.