Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframes fix retry in head-end #994

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Conversation

merobi-hub
Copy link
Contributor

@merobi-hub merobi-hub commented Mar 27, 2024

Embedded YouTube videos are not playing on the site, and the error being printed is Refused to frame 'https://www.youtube.com/' because it violates the following Content Security Policy directive: "frame-src 'self'"..

Previous attempts to add a frame-src CSP in head-end to fix this have failed, but the changing errors we are seeing with successive attempts might indicate that the browser is trying to execute the tag and then reverting to a policy set elsewhere or only partially executing the code.

This is hopefully the last attempt to fix this. The videos display when previewing the pages locally, so testing prior to deployment does not seem possible.

@potiuk potiuk merged commit 99dad24 into apache:main Mar 27, 2024
1 check passed
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