[CinVin] Lazy Load YouTube Videos

[CinVin] Lazy Load YouTube Videos 1.1.0

No permission to download

CinVin

Member
CinVin submitted a new resource:

[CinVin] Lazy Load YouTube Videos - Lazy Load YouTube in XenForo 2.2.x

This is a small add-on that defers loading embedded YouTube videos until the user clicks on the play button.

A preview image is shown as a placeholder with the familiar YouTube 'play' button on top. The video is not loaded until the play button is clicked. The image has the 'lazy' property set for browsers that recognize it.

For threads with a lot of embedded YouTube videos, such as the...

Read more about this resource...
 

Chromaniac

Well-known member
Noticed the missing webp preview image on all YouTube videos a while ago. Such a shame. They are so much more efficient when you call them in this way. Great addon. S9E addon already offers this functionality so I do not need to install it but this improve page loading so much on pages with tons of embedded YouTube videos.
 

Kevin

Well-known member
Noticed the missing webp preview image on all YouTube videos a while ago. Such a shame. They are so much more efficient when you call them in this way.
Yeah, it's surprising that with YT being under the Google umbrella that they don't generate the .webp versions of the thumbnail as needed instead of returning a 404. It was also surprising how many if them were bigger than then same thumb in the old . jpg format. According to the Google docs the larger file sizes can occur when the .webp is generated from an already optimized source image.
 
Top