this post was submitted on 19 Dec 2024
68 points (98.6% liked)

Fediverse

28721 readers
77 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

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
 

If you go to !videos@lemmy.world and scroll you'll see some of the posts have a youtube thumbnail image, but not all.

I wanna post YouTube videos, but no one seems to engage much without a thumbnail, which makes sense, but I'm not sure what would result in the post actually having a thumbnail

If anyone has advice or guidance I'd appreciate it :) Thanks!

EDIT: so far it seems like it's potentially a combination of what version of lemmy the posters account is running, and how that instance is configured...

you are viewing a single comment's thread
view the rest of the comments
[–] Cris_Color@lemmy.world 2 points 3 days ago (1 children)

Thats a very helpful response, thank you!

It seems like the only people getting thumbnails on !videos@lemmy.world are from shitjustworks (how fitting lol)

[–] hono4kami@slrpnk.net 4 points 3 days ago* (last edited 3 days ago) (1 children)

See the other reply: seems that it was caused by Lemmy backend only fetches the first 512kb of the HTML, meanwhile YouTube puts bunch of JavaScript in the beginning of the HTML

Here's the fix that was only merged couple days ago apparently, https://github.com/LemmyNet/lemmy/pull/5266

Crazy, right

[–] Cris_Color@lemmy.world 0 points 3 days ago

Interesting...