contentdb
contentdb copied to clipboard
Add previews to YouTube embeds
Currently, the icon is a blank background. It should use a preview without exposing the user to Google tracking
This isn't that hard: https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api
- Add new endpoint
/thumbnails/yt/<id>/that fetches the given video id thumbnail from https://img.youtube.com/vi/ - Use it in the package view video embed