Thumbnails in link previews on public share links

The new thumbnail server is great!

Now that we can have automatically generated thumbnails for videos it would be great if the thumbnail could be used as the og:image tag on a shared link, so when posting it to Facebook/Discord/Twitter etc. it shows the thumbnail instead of the generic purple “video” icon. I tried to set this up myself by making a custom template for the shared_view_react.html and while I was able to construct the appropriate URL for the thumbnail (/thumbnail/repo_id/1024/filename.mp4) it’s only accessible when authenticated so doesn’t work for a public share link.

Hoping I’ve missed something but otherwise if it’s not possible I hope it can be added.

Thanks for reporting the issue. We will give it a check.