Closed jamestiotio closed 4 years ago
Replace all src attributes of all iframes with data-src. That way, the JavaScript function will lazy-load each iframe accordingly by assigning its src with its data-src value when it is on-screen.
src
iframe
data-src
Replace all
src
attributes of alliframe
s withdata-src
. That way, the JavaScript function will lazy-load eachiframe
accordingly by assigning itssrc
with itsdata-src
value when it is on-screen.