If you go to [email protected] 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…

  • CrisOP
    link
    English
    14 hours ago

    Thats a very helpful response, thank you!

    It seems like the only people getting thumbnails on [email protected] are from shitjustworks (how fitting lol)

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      4 hours ago

      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

      • CrisOP
        link
        English
        14 hours ago

        Interesting…