Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate thumbnails for videos and expose them via opengraph media tags #59

Open
Hubro opened this issue Aug 8, 2022 · 0 comments
Open

Comments

@Hubro
Copy link
Owner

Hubro commented Aug 8, 2022

Hey Hubro, a buddy of mine and I forked Clipface to mess around with it a bit to have some fun, but one of the things we did was test max's theory about the og:image. Turns out max is correct. I tested a 150MB clip and it didn't load, then we just forced every video to use the same test image and restarted clipface with that change. Then, the embed instantly loaded, but with the placeholder image there and now the 150MB file plays in Discord embedded.

Here is the commit on our fork where we made that change

Interesting! So I guess the reason Discord downloads the video is in order to generate a thumbnail image.

I guess I have to add thumbnail generation 😄

Originally posted by @Hubro in #20 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant