RetroFed Forums
Your home away from modern life.
Missing thumbnail for YouTube videos
Post Reply
AuthorMessage
Lenna 🔞 piefed.ca Lenna@piefed.ca
Joined: 2025-11-22
Quote

When I post a YouTube link, no thumbnail is generated with the post.

I see this issue on Codeberg as #269. It was created in 2024, and closed the same year. But was anything ever changed relating to video thumbnails in Piefed?

17   Original
artyom piefed.social artyom@piefed.social
Joined: 2025-06-08
#2 · Quote Reply

It works in Blorp 🙂

4
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#3 · (edited) Quote Reply

Can you give me a link to an example? And/or a screenshot?

3
eurodyne piefed.world eurodyne@piefed.world
Joined: 2026-07-25
#4 · (edited) Quote Reply

Can you give me a link to an example? And/or a screenshot?

2
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#5 · Quote Reply

You seem to be trying to insert a youtube video as an image.

It'd be good if, when a youtube link is on it's own (as below), it would turn into a clickable embedded video. But we don't have that functionality at the moment. Some 3rd party client apps might.

https://m.youtube.com/watch?v=WLDE9LrGpNk&pp=iggUQAFKEFp5dlV4RnVlSWJmOHFjSzM%3D&ra=m

3
A_norny_mousse piefed.zip A_norny_mousse@piefed.zip
Joined: 2026-02-04
#6 · Quote Reply

It works in Blorp 🙂

What's Blorp?

1
Blaze piefed.zip Blaze@piefed.zip
Joined: 2025-06-13
#7 · Quote Reply

What's Blorp?

!blorp@lemmy.zip

2
INeedMana piefed.zip INeedMana@piefed.zip
Joined: 2025-07-03
#8 · (edited) Quote Reply

We've had similar issue some time ago, it was due to something in ngnix. I'll look around, maybe I have some notes about that somewhere

EDIT: pass these to your instance admins
https://web.dev/articles/strict-csp
https://stackoverflow.com/questions/64808475/csp-for-embedding-youtube-video
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/default-src

Piefed/flask set it's own nonces so no need to add those in nginx

1
A_norny_mousse piefed.zip A_norny_mousse@piefed.zip
Joined: 2026-02-04
#9 · Quote Reply

!blorp@lemmy.zip

oh look my instance even has one. Thanks

2
Lenna 🔞 piefed.ca Lenna@piefed.ca
Joined: 2025-11-22
#10 · Quote Reply

Can you give me a link to an example? And/or a screenshot?

Here's one I just posted in my community.

And here's a screenshot:

image

2
Rimu Moderator rimu@piefed.social
Joined: 2024-01-04
#11 · (edited) Quote Reply

Here's one I just posted in my community. And here's a screenshot:

Ah I see, you have compact mode on.

I'll make a codeberg issue for that. Thanks!

https://codeberg.org/rimu/pyfedi/issues/1895

3
Lenna 🔞 piefed.ca Lenna@piefed.ca
Joined: 2025-11-22
#12 · Quote Reply

Ah I see, you have compact mode on. I'll make a codeberg issue for that. Thanks! https://codeberg.org/rimu/pyfedi/issues/1895

Thanks Rimu!

2
Lenna 🔞 piefed.ca Lenna@piefed.ca
Joined: 2025-11-22
#13 · Quote Reply

We've had similar issue some time ago, it was due to something in ngnix. I'll look around, maybe I have some notes about that somewhere EDIT: pass these to your instance admins https://web.dev/articles/strict-csp https://stackoverflow.com/questions/64808475/csp-for-embedding-youtube-video https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/default-src Pie...

It turns out the issue has something to do with Compact mode on Piefed. Rimu opened a Codeberg issue.

https://codeberg.org/rimu/pyfedi/issues/1895

2
Lenna 🔞 piefed.ca Lenna@piefed.ca
Joined: 2025-11-22
#14 · Quote Reply

It works in Blorp 🙂

Turns out the issue is with compact mode. Whether I'm on Blorp or just default Piefed, thumbnails don't show up on compact mode.

But the good thing is that Remu has opened a Codeberg issue. So it'll be fixed sometime in the future. :)

3
Post Reply
Back to top