this post was submitted on 19 Dec 2024
68 points (98.6% liked)
Fediverse
28715 readers
71 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's because Lemmy can't fetch YouTube thumbnails. I swear it used to fetch thumbnail and title automatically before, hmm
It's because YouTube puts a bunch of JavaScript at the start of the file (1MiB) before the opengraph tags and Lemmy only fetches the first 512 KiB (a fix was merged a couple days ago).
If you don't put a whopping 1MB of JavaScript in your website, you're doing web development wrong.
/s
Don’t forget to add also the 2856 partners intrusive code lines and cookies to have a "better experience"
I can fetch the damn thumbnail just fine. I have to do it on every YT post I submit.
Reddit can fetch thumbnails from hundreds of websites, all of them different, including a bunch of porn sites. Pretty sure they have to code each site to map out the right URL and tags to parse.
I know Lemmy is OSS, but I really wish it wasn't so slow on the uptake with these things.
I can testify to this. I was there. I was there when Lemmy so valiantly fetched ye old YouTube thumbnails.
Uphill, in the snow, both ways
Into the depths of Moria and through Lothlórien forest.