From 8b1c970994f7092eb0af0cf3e0fabe2f347d3126 Mon Sep 17 00:00:00 2001 From: David Fischer Date: Thu, 30 Oct 2025 08:57:17 -0700 Subject: [PATCH] Fix an issue with YouTube embed sandboxing - The YT embed required a new parameter "allow-forms" - Otherwise, this just spaces the embed out for readability --- .../templates/pythonsd/fragments/recent-videos.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pythonsd/templates/pythonsd/fragments/recent-videos.html b/pythonsd/templates/pythonsd/fragments/recent-videos.html index 795b5a1..9267913 100644 --- a/pythonsd/templates/pythonsd/fragments/recent-videos.html +++ b/pythonsd/templates/pythonsd/fragments/recent-videos.html @@ -10,8 +10,18 @@ See: * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#sandbox * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow + * https://developers.google.com/youtube/iframe_api_reference {% endcomment %} - + {% endwith %} {% else %}