Skip to content

Commit d5657f4

Browse files
piotrnarajowskisjanc
authored andcommitted
custom-theme/talks: Configure Content-Security-Policy for Youtube
.htaccess file is introduced to configure Content-Security-Policy for Youtube. This is based on example on how to embed yt videos from privacy-website.
1 parent 0f47910 commit d5657f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

custom-theme/.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Allow loading YouTube content after ensuring consent.
2+
# Additional allowances to be coordinated with privacy team
3+
Header set Content-Security-Policy "frame-src https://www.youtube-nocookie.com https://www.youtube.com"

0 commit comments

Comments
 (0)