VersionControl:PRs/magenta/424

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Revision as of 21:45, 9 November 2026 by DrivingThatTrain (talk | contribs) (cryptograss/magenta#424, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
magenta#424: Tidings: YouTube embeds play again (Error 153)
State 🟣 merged 2026-11-09 21:45:04
Worked on by magent, slvrbckt
Moods #general
Deploy not said
Branch yt-embed-referrer → main, by magent-cryptograss
Opened · last pushed 2026-11-07 18:25:53 · 2026-11-07 18:25:33
slvrbckt found that a YouTube tiding's embedded player shows **"Video player configuration error, Error 153"** instead of the video.

**Why:** magenta serves `Referrer-Policy: same-origin` (checked on the live tiding page), so the player's iframe goes to youtube-nocookie.com with no Referer at all, and YouTube now refuses to play without one.

**Fix:** `referrerpolicy="strict-origin-when-cross-origin"` on the one embed iframe (`mood_tiding.html`). YouTube gets `https://magenta.cryptograss.live/` only, never the page's path. Vimeo's player gets the same.

**Checked:** in Playwright, the same video (r-_WGJTNp3o) on a page with `same-origin` policy: the iframe without the attribute shows Error 153; with it, the player loads with the title and play button.

Redeploy: maybelle (memory-lane)
Worked on by: magent, slvrbckt, in #general and Tidings