Merge pull request #2178 from GSA/2177-add-video-to-about-page

Add youtube video to about page
This commit is contained in:
Beverly Nguyen
2024-12-05 14:02:30 -08:00
committed by GitHub
2 changed files with 5 additions and 2 deletions

View File

@@ -141,6 +141,10 @@ def _csp(config):
logo_domain = config["LOGO_CDN_DOMAIN"] logo_domain = config["LOGO_CDN_DOMAIN"]
return { return {
"default-src": ["'self'", asset_domain], "default-src": ["'self'", asset_domain],
"frame-src": [
"https://www.youtube.com",
"https://www.youtube-nocookie.com",
],
"frame-ancestors": "'none'", "frame-ancestors": "'none'",
"form-action": "'self'", "form-action": "'self'",
"script-src": [ "script-src": [

View File

@@ -23,8 +23,7 @@
<p>Notify.gov is an easy-to-use, web-based platform. It requires no technical expertise or system integration — users <p>Notify.gov is an easy-to-use, web-based platform. It requires no technical expertise or system integration — users
can create an account and get started within minutes. We take the security and privacy of messaging data seriously can create an account and get started within minutes. We take the security and privacy of messaging data seriously
by minimizing data retention and using modern encryption methods.</p> by minimizing data retention and using modern encryption methods.</p>
<!-- add youtube video component here --> <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/fkcy_xbo0Bw?si=qNo94BwL4WCeusy5&amp;start=2" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> <h2 class="padding-bottom-3">Product Highlights</h2>
<h2 class="padding-bottom-3">Product Highlights</h2>
{% set product_highlights = [ {% set product_highlights = [
{ {
"svg_src": "#send", "svg_src": "#send",