• Resolved scarlywebs

    (@scarlywebs)


    Hi, how can i disable lazy load for embeds? I want to keep lazyload on and use it but its causing url link issues for my blog post embeds. Do you guys have code or no a way to disable lazy load for embeds?

    • This topic was modified 7 months ago by scarlywebs.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support adamewww

    (@adamewww)

    I would recommend having a look at the lazy load documentation: https://docs.ewww.io/article/74-lazy-load

    You can exclude any item by adding it to the Lazy Load exclusion box. Depending on how your embeds are defined, if there is a common aspect to them (i.e. embed), you could put that in the exclusion box and it won’t be lazy loaded. For example, there are often times conflicts with iframe and lazy load so adding ‘iframe’ (without the quotes) can help with that.

    Alternatively, you can add the ‘skip-lazy’ or ‘data-skip-lazy’ class to any element and the lazy load will be excluded.

    Thread Starter scarlywebs

    (@scarlywebs)

    Thanks! I added Iframe to the exclusion box and that helped, now my embeds work, yay.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disabled lazyload for embeds?’ is closed to new replies.