Skip Navigation

Missing YouTube video thumbnails [fixed]

Does anybody know why and when thumbnails for YouTube videos are shown or not? It appears to depend on the lemmy instance the posts are served from:

Without Thumbnails

With Thumbnails

Update: It's not only YT thumbnails which aren't shown. This is your post about the free 24 slot bag as shown on lemmy.wtf (without thumbnail), lemmy.world (without thumbnail) and feddit.de (with thumbnail):

16

You're viewing a single thread.

16 comments
  • I've been trying to troubleshoot it. It makes very little sense to me, that it doesn't show thumbnails from local posts on lemmy.wtf, but if you can via another instance, the thumbnails show up.

    • But you are getting the same results as me when trying the links? The first 2 have thumbnails and the last 2 don't, right?

      • Exactly.

        • That's really weird. I already went through the issue tracker on GitHub for both the lemmy backend as well as the frontend, but couldn't find anything. I also checked the documentation whether there is a configuration option somewhere. Nothing.

          My guess is that the thumbnail is extracted (read from the opengraph tag available via the posted URL) in the frontend (and not the backend). (wrong guess)

          The only thing I could find on the issue tracker which might be related is this:

          https://github.com/LemmyNet/lemmy-ui/issues/709

          • I have no idea why it is happening. The only thing I can think of is Cloudflare tunnel, but why would that keep the thumbnails from loading? I send a message to the admin of Lemmy.world.

            edit: I am also trying to troubleshoot why users from kbin.social can't subscribe to here and vice versa.

        • I also found this

          https://github.com/LemmyNet/lemmy-ui/issues/20

          There is an environment variable LEMMY_UI_DISABLE_CSP (default : false) to configure lemmy-ui. Do you set this on your instance or do you set a Content-Security-Policxy Header somewhere in your webserver/nginx config?

16 comments