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

@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.

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

Follow

@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:

Sign in to participate in the conversation
Princess Grace's Space Base Place

Don't let the name fool you. All the pornography here is legal, and much of it is hand-written. No fascists, no bigots.