You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setup works perfectly, as evidenced by the network tab showing that only 22 out of 60 videos load initially, with more videos loading incrementally as I scroll down (24, 26, 28, 30, etc.).
However, the problem arises when I add the muted attribute to the videos. When the videos have the muted attribute, it seems that lazysizes fails, and all 60 videos load immediately on page load. What could be causing this issue?
Please note the following:
I've included the unveilhooks plugin
The videos are dynamically added to the DOM.
I am using a masonry JavaScript library.
I have an IntersectionObserver that plays the videos when they enter the viewport and pauses them when they exit.
Thanks in advance for you help!
The text was updated successfully, but these errors were encountered:
Hello everyone. I'm having the following markup
This setup works perfectly, as evidenced by the network tab showing that only 22 out of 60 videos load initially, with more videos loading incrementally as I scroll down (24, 26, 28, 30, etc.).
However, the problem arises when I add the muted attribute to the videos. When the videos have the muted attribute, it seems that lazysizes fails, and all 60 videos load immediately on page load. What could be causing this issue?
Please note the following:
Thanks in advance for you help!
The text was updated successfully, but these errors were encountered: