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…

  • hono4kami@slrpnk.net
    link
    fedilink
    English
    arrow-up
    9
    ·
    10 hours ago

    It’s because Lemmy can’t fetch YouTube thumbnails. I swear it used to fetch thumbnail and title automatically before, hmm

    • flamingos-cant
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      10 hours ago

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

      • hono4kami@slrpnk.net
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        edit-2
        10 hours ago

        If you don’t put a whopping 1MB of JavaScript in your website, you’re doing web development wrong.

        /s

        • Enoril@jlai.lu
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          Don’t forget to add also the 2856 partners intrusive code lines and cookies to have a “better experience”

    • TehBamski@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      10 hours ago

      I can testify to this. I was there. I was there when Lemmy so valiantly fetched ye old YouTube thumbnails.