discourse/plugins/lazy-yt/assets/stylesheets
David Taylor ac042c2bbe
UX: Fetch higher-resolution youtube thumbnails where available
We have been using YouTube's 'hqdefault.jpg' image which works consistently to provide a 480x360 thumbnail. YouTube does provide larger thumbnails, but not consistently for every video. By using og:image, we will fetch the best resolution YouTube can provide for each video.

This commit also refactors lazy-yt to re-use the thumbnail already existing in the cooked content. This means we get lazy-loading for free, and avoid hotlinking images to YouTube (when download remote images is enabled on the site).
2020-05-15 17:49:27 +01:00
..
lazyYT_mobile.scss Rename lazyYT plugin directory name to lazy-yt 2019-08-21 14:35:14 +05:30
lazyYT.css UX: Fetch higher-resolution youtube thumbnails where available 2020-05-15 17:49:27 +01:00