Follow

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: gist.github.com/cketti/edbf7ef

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

github.com/matrix-org/synapse/

@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

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