Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
9fbfeaac
Commit
9fbfeaac
authored
Nov 24, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_js_style: allow embedding video from youtube-nocookie.com
It is GPDR compliant, as no cookie is set
parent
9344aa59
Pipeline
#18535
failed with stage
in 0 seconds
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
...ateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
+1
-1
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
...plateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
+1
-1
No files found.
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
View file @
9fbfeaac
...
...
@@ -27,7 +27,7 @@
<tal:block
metal:use-macro=
"global_definitions_macros/header_definitions"
/>
<html
tal:attributes=
"lang current_language"
>
<head>
<meta
http-equiv=
"Content-Security-Policy"
content=
"default-src 'self'"
/>
<meta
http-equiv=
"Content-Security-Policy"
content=
"default-src 'self'
; frame-src 'self' https://www.youtube-nocookie.com/embed/
"
/>
<meta
name=
"referrer"
content=
"same-origin"
>
<meta
http-equiv=
"Feature-Policy"
content=
"accelerometer 'none'; ambient-light-sensor 'none'; autoplay: 'none'; battery: 'none'; camera: 'none'; display-capture: 'none'; document-domain: 'none'; encrypted-media: 'none'; geolocation: 'none'; gyroscope: 'none'; magnetometer: 'none'; microphone: 'none'; payment: 'none'; usb: 'none'"
/>
<base
tal:attributes=
"href python: '%s/' % web_section.absolute_url()"
/>
...
...
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
View file @
9fbfeaac
...
...
@@ -27,7 +27,7 @@
<tal:block
metal:use-macro=
"global_definitions_macros/header_definitions"
/>
<html
tal:attributes=
"lang current_language"
>
<head>
<meta
http-equiv=
"Content-Security-Policy"
content=
"default-src 'self'"
/>
<meta
http-equiv=
"Content-Security-Policy"
content=
"default-src 'self'
; frame-src 'self' https://www.youtube-nocookie.com/embed/
"
/>
<meta
name=
"referrer"
content=
"same-origin"
>
<meta
http-equiv=
"Feature-Policy"
content=
"accelerometer 'none'; ambient-light-sensor 'none'; autoplay: 'none'; battery: 'none'; camera: 'none'; display-capture: 'none'; document-domain: 'none'; encrypted-media: 'none'; geolocation: 'none'; gyroscope: 'none'; magnetometer: 'none'; microphone: 'none'; payment: 'none'; usb: 'none'"
/>
<base
tal:attributes=
"href python: '%s/' % web_section.absolute_url()"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment