bluesky-social / social-app

The Bluesky Social application for Web, iOS, and Android
https://bsky.app
MIT License
9.83k stars 1.25k forks source link

Add another URL for Tenor embeds? #2500

Open Cpt-KeksMonster opened 9 months ago

Cpt-KeksMonster commented 9 months ago

With version 1.63 certain URLs were integrated which are accepted as prefix to embed GIFs from Tenor.

When using the Tenor GIF Keyboard (iOS) very short URLs are being generated which are not correctly being embedded.

Example: https://tenor.com/bVvd1.gif

Is it possible to adjust the code to also accept such URLs for embedding?

Thanks in advance.

haileyok commented 9 months ago

Probably doable. https://tenor.com/bVvd1.gif itself wont actually work, we need it to resolve to https://tenor.com/view/i-miss-you-missing-you-gif-26058715.gif. But we can get that out of the metadata response. Would be nice if it just worked with the Tenor keyboard for sure. I'll take a look sometime over the weekend probably.