iframe
s using IntersectionObserver
Lazy load Iframes with loading="lazy"
attribute will still send network requests when they have not entered the browser's viewport.
Setting the src
attribute only after they reach the viewport ensures the page loads quickly (Noticeable when embedding Youtube or Google Maps iframes).