You can add
loading="lazy" attribute to any image, iframe tag element in your HTML code to enable native lazy loading feature. But it sometimes, may not work. There is one simple but important factor listed below, that you need to keep in mind to make sure that it works perfectly.
You have to add proper
height attributes to the
iframe tags, to make sure that the lazy loading works without any layout shifts or any other noticeable issues.