mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: send referrer header on stories YouTube embed
This commit is contained in:
parent
cc429c4553
commit
a97a06f2da
1 changed files with 3 additions and 0 deletions
|
|
@ -198,6 +198,9 @@ export function StoriesWidget() {
|
|||
src={youTubeEmbedUrl(activeStory.videoId)}
|
||||
title={activeStory.title}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
// the server's global no-referrer policy breaks YouTube
|
||||
// embeds (error 153); send the origin for this frame only
|
||||
referrerPolicy="strict-origin-when-cross-origin"
|
||||
allowFullScreen
|
||||
/>
|
||||
<DialogClose asChild>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue