discourse/plugins
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
..
discourse-details FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
discourse-local-dates FIX: ensures preview is correctly computing timezone for current user (#9758) 2020-05-12 12:30:41 -07:00
discourse-narrative-bot PERF: Move fetching of avatar into hijack for discobot certificate 2020-05-11 09:35:06 +08:00
discourse-presence FIX: Don't publish typing presence if composer isn't opened. 2020-05-14 12:52:10 +08:00
discourse-unsupported-browser Improve support for old browsers (#9515) 2020-04-29 21:40:21 +03:00
lazy-yt UX: Fetch higher-resolution youtube thumbnails where available 2020-05-15 17:49:27 +01:00
poll DEV: Use async/await instead of andThen() 2020-05-11 18:22:48 +02:00