This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit 0b83ae1fba4af3bebf4efeceddaf8880449f9842
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Nov 2 10:25:54 2025 +0100

    Make videos in meeetups page work with privacy in mind
---
 landing-pages/site/layouts/partials/youtube.html       |   7 ++++---
 landing-pages/site/static/.htaccess                    |   3 ---
 .../static/meetups-video-placeholders/Q7H0JYVnI9I.png  | Bin 0 -> 898658 bytes
 .../static/meetups-video-placeholders/SZBVgREqets.png  | Bin 0 -> 771675 bytes
 .../static/meetups-video-placeholders/j3DIJHXTZQ4.png  | Bin 0 -> 685250 bytes
 .../static/meetups-video-placeholders/xm1sKYpyDnw.png  | Bin 0 -> 950679 bytes
 .../static/meetups-video-placeholders/zPjIQjjjyHI.png  | Bin 0 -> 674379 bytes
 7 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/landing-pages/site/layouts/partials/youtube.html 
b/landing-pages/site/layouts/partials/youtube.html
index dc898fba34..9aafc67b42 100644
--- a/landing-pages/site/layouts/partials/youtube.html
+++ b/landing-pages/site/layouts/partials/youtube.html
@@ -17,7 +17,8 @@
  under the License.
 */}}
 
-<div class="embed-responsive embed-responsive-16by9">
-    <iframe class="embed-responsive-item" 
src="https://www.youtube.com/embed/{{ .videoID }}" allowfullscreen>
-    </iframe>
+<div id="videoContainer" style="display: flex; justify-content: center; 
align-items: center; border: 2px solid #ccc; width: 75%; margin: auto; padding: 
20px;">
+    <a href="https://www.youtube.com/embed/{{ .videoID }}?autoplay=1">
+        <img id="videoPlaceholder" src="/meetups-video-placeholders/{{ 
.videoID }}.png" style="cursor: pointer; width: 100%; max-width: 560px;" 
alt="Click to play the video" title="Click to play video"/>
+    </a>
 </div>
diff --git a/landing-pages/site/static/.htaccess 
b/landing-pages/site/static/.htaccess
index d38c846f24..e0994e6c16 100644
--- a/landing-pages/site/static/.htaccess
+++ b/landing-pages/site/static/.htaccess
@@ -47,6 +47,3 @@ RedirectMatch Permanent 
^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator
 RedirectMatch Permanent 
^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator/gcp/vision.html 
"https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/vision.html";
 RedirectMatch Permanent 
^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator/papermill.html 
"https://airflow.apache.org/docs/apache-airflow-providers-papermill/stable/operators.html";
 RedirectMatch Permanent 
^/docs/apache-airflow/(stable|2\.[0-9.]+)/profiling.html 
"https://github.com/apache/airflow/blob/master/UPDATING.md";
-
-# CSP permissions for foo.apache.org - Adding 3rd party service Algolia. 
Approved by VP Data Privacy.
-SetEnv CSP_PROJECT_DOMAINS "https://www.youtube-nocookie.com 
https://www.youtube.com https://airflow.apache.org";
diff --git 
a/landing-pages/site/static/meetups-video-placeholders/Q7H0JYVnI9I.png 
b/landing-pages/site/static/meetups-video-placeholders/Q7H0JYVnI9I.png
new file mode 100644
index 0000000000..732f0e6c09
Binary files /dev/null and 
b/landing-pages/site/static/meetups-video-placeholders/Q7H0JYVnI9I.png differ
diff --git 
a/landing-pages/site/static/meetups-video-placeholders/SZBVgREqets.png 
b/landing-pages/site/static/meetups-video-placeholders/SZBVgREqets.png
new file mode 100644
index 0000000000..c903c4a430
Binary files /dev/null and 
b/landing-pages/site/static/meetups-video-placeholders/SZBVgREqets.png differ
diff --git 
a/landing-pages/site/static/meetups-video-placeholders/j3DIJHXTZQ4.png 
b/landing-pages/site/static/meetups-video-placeholders/j3DIJHXTZQ4.png
new file mode 100644
index 0000000000..f72ce4678b
Binary files /dev/null and 
b/landing-pages/site/static/meetups-video-placeholders/j3DIJHXTZQ4.png differ
diff --git 
a/landing-pages/site/static/meetups-video-placeholders/xm1sKYpyDnw.png 
b/landing-pages/site/static/meetups-video-placeholders/xm1sKYpyDnw.png
new file mode 100644
index 0000000000..2a65a82001
Binary files /dev/null and 
b/landing-pages/site/static/meetups-video-placeholders/xm1sKYpyDnw.png differ
diff --git 
a/landing-pages/site/static/meetups-video-placeholders/zPjIQjjjyHI.png 
b/landing-pages/site/static/meetups-video-placeholders/zPjIQjjjyHI.png
new file mode 100644
index 0000000000..9a54f1fd2c
Binary files /dev/null and 
b/landing-pages/site/static/meetups-video-placeholders/zPjIQjjjyHI.png differ

Reply via email to