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: https://gist.github.com/cketti/edbf7efe5e641792d56a384dc501ba1e
@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.
@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...)
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.