I was a bit annoyed that previews of Youtube URLs were kind of broken on my Matrix instance. Did some research and stumbled upon a Greasemonkey script to "fix" it client-side. Made some improvements and ended up with this:

@cketti I imagine you'll need to keep chasing this turkey, as with everything that scrapes YouTube pages. They are changed more often than my underwear.

@proactiveservices Synapse has support for oEmbed, too. The problem seems to be that it is currently only used for Twitter.

@cketti The cynic in me is surprised that Twitter supports it - but then their business model doesn't involve walling their users in, per se.

@cketti I hope someone fixes it in synapse soon enough. (Getting the userscript into element-desktop sounds like a bother...)

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.