Skip to content

fix: send referrer with youtube embeds - #31

Merged
ThisAMJ merged 1 commit into
p2sr:masterfrom
nikolan123:youtube-fix
Aug 7, 2026
Merged

fix: send referrer with youtube embeds#31
ThisAMJ merged 1 commit into
p2sr:masterfrom
nikolan123:youtube-fix

Conversation

@nikolan123

Copy link
Copy Markdown
Contributor

This PR fixes the embedded youtube player.

Youtube now requires the referrer for embedded videos, and this site has a global no-referrer set. I fixed this by sending the referrer to only the youtube embeds.

youtube docs:
Screenshot 2026-08-05 at 4 14 16 PM

before:
Screenshot 2026-08-05 at 4 13 07 PM
after:
Screenshot 2026-08-05 at 4 13 39 PM

@ThisAMJ
ThisAMJ merged commit 48e798f into p2sr:master Aug 7, 2026
ThisAMJ pushed a commit that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants