LazyYT uses an unique system for embedding YouTube videos via a simple HTML DIV.
This improves page load times by skipping the load of lagging YouTube iframes.
LazyYT does not break page layouts though by hiding or skipping YouTube videos from being embedded.
Through a series of data attributes it allows the developer to pass the width, height and YouTube video ID, which the plugin will use to retrieve a video thumbnail of that size and overlay a small play button on top of it.
When this later play button is pushed, the actual YouTube video iframe is retrieved, replacing the video thumbnail.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |