Skip to content

Added referrerpolicy="strict-origin-when-cross-origin" to YouTube iframe#4812

Open
pi3ch wants to merge 1 commit intoasciidoctor:mainfrom
pi3ch:patch-1
Open

Added referrerpolicy="strict-origin-when-cross-origin" to YouTube iframe#4812
pi3ch wants to merge 1 commit intoasciidoctor:mainfrom
pi3ch:patch-1

Conversation

@pi3ch
Copy link
Copy Markdown

@pi3ch pi3ch commented Oct 30, 2025

Added YouTube required referrerpolicy="strict-origin-when-cross-origin" to address Error 153 #4711

Added YouTube required referrerpolicy="strict-origin-when-cross-origin" to address Error 153 
asciidoctor#4711
@mojavelinux
Copy link
Copy Markdown
Member

mojavelinux commented Oct 30, 2025 via email

@pi3ch
Copy link
Copy Markdown
Author

pi3ch commented Oct 30, 2025

See #4711

@pi3ch
Copy link
Copy Markdown
Author

pi3ch commented Dec 31, 2025

@mojavelinux #4711 (comment) have you seen this?

@little077
Copy link
Copy Markdown

As for how to solve this problem now, I have gone through a lot of materials but still can't figure it out

@mojavelinux
Copy link
Copy Markdown
Member

YouTube videos just don't work anymore when the HTML is viewed through the file protocol. That's just the state of the world. It works if the HTML is served through a web server. Until someone can prove otherwise, I don't see what impact any change to the HTML is going to make.

Example: https://asciidoctor-issue-4711-a23fa8.gitlab.io/

@mojavelinux
Copy link
Copy Markdown
Member

This attribute certainly won't "hurt" anything, so at this point I'm willing to add it. But if I do, I'm done talking about this because it's just a waste of time frankly.

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.

3 participants