Manually lazy load via functions.php – is it possible?
-
Hi,
I have a number of video overlay images that are not being picked up by the lazy load plugin.
Are there any code snippets for functions.php to manually lazy load a particular class?
The class I need to lazy load is: “data-thumb”
For example see “data-thumb” in this output html: <div class=”et_pb_module_inner”><div id=”48237094″ class=”de_dn_youtube_video de_dn_vimeo_listener” data-id=”48237094″ data-thumb=”https://i.vimeocdn.com/video/334113069_1280x720.jpg” data-thumbalt=”Life in 150 seconds”></div></div></div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Manually lazy load via functions.php – is it possible?’ is closed to new replies.