TheBLVD / mammoth

GNU Affero General Public License v3.0
187 stars 14 forks source link

Support oEmbed for embedded links #88

Open mikix opened 1 year ago

mikix commented 1 year ago

Is your feature request related to a problem? Please describe. Some mastodon clients (maybe only the official app?) use a richer preview option called oEmbed for links.

I believe adding support to Mammoth for those richer previews would add more joy to the world.

Describe the solution you'd like Implement similar rich preview cards like the official client has (presumably via oEmbed).

I assume you folks already know more about what options exist and what oEmbed is than I do, so I won’t even try to explain it, as I don’t know what’s involved in its implementation.

Additional context Blog post about mastodon and preview cards

Official iOS client playing a streaming music link preview inline:

image

Mammoth with that same link looks nice, but only links externally, without any inline play functionality:

image

Thank you!

NathanRLiu commented 1 year ago

Hey there! Wonderful feedback, I've just added a feature request ticket for it — Thanks for letting us know about it, seems promising.

derspyy commented 10 months ago

this is also a good way to display threads posts when quoted, for example, and peertube videos when they're converted over from activitypub.

image

peertube posts on the web client.