OH COME ON why can't Mastodon preview oEmbed via YouTube? Will happily PR??

Show thread

@BestGirlGrace Huh, weird. Bug in the oEmbed implementation for the poster, maybe?

@andi I think it generates the preview asynchronously, too, so it can take a bit.

Follow

@BestGirlGrace Is that it? Seems it doesn't leverage oEmbed at all then...

@andi I would imagine it does- it generates OEmbed cards, it just kicks off a Sidekiq task to do it, I believe, and that happens when it happens.

@BestGirlGrace But wait why

Why doesn't it just get a properly sized oEmbed via the oEmbed service??

@andi It's either do it async or every post that contains a link has to make you wait while it goes and crawls the link to generate the card. You can see the crawl workers right here in Sidekiq when I posted something oembeddable.

@BestGirlGrace Ahhhh okay that totes makes sense. Thanks for humouring me! :heart_parrot:

@andi I had to think about it for a second myself. Follow your dreams!

Sign in to participate in the conversation
Nuklear Family

This is the personal instance of Andi N. Fiziks. Love me or hate me it's still an obsession 😘