contentdb icon indicating copy to clipboard operation
contentdb copied to clipboard

Add previews to YouTube embeds

Open rubenwardy opened this issue 3 years ago • 1 comments

Currently, the icon is a blank background. It should use a preview without exposing the user to Google tracking

rubenwardy avatar Jan 25 '22 23:01 rubenwardy

This isn't that hard: https://stackoverflow.com/questions/2068344/how-do-i-get-a-youtube-video-thumbnail-from-the-youtube-api

  1. Add new endpoint /thumbnails/yt/<id>/ that fetches the given video id thumbnail from https://img.youtube.com/vi/
  2. Use it in the package view video embed

rubenwardy avatar Jan 31 '23 22:01 rubenwardy