The purpose of this plugin to be built is to load the thumbnails of video instead of loading video and the video will trigger only when its thumbnail is being clicked.
Implement Youtube Lazy Load Effect
Define a div element and add a class “llyv” to wrapper an element of your youtube video. To add the video, you simply need to specify the video ID in the data-id HTML5 attribute.
<div class="llyv" data-id="Bey4XXJAqS8"></div> <div class="llyv" data-id="Bey4XXJAqS8"></div> <div class="llyv" data-id="Bey4XXJAqS8"></div> <div class="llyv" data-id="Bey4XXJAqS8"></div>
Nothing else needs to do. Its ready to use and enjoy.