From ee11cde835d4741040500e2b9d1bdcdf3f7b95a6 Mon Sep 17 00:00:00 2001 From: BordedDev <> Date: Fri, 27 Jun 2025 12:10:16 +0200 Subject: [PATCH] Added shorts embedding support --- src/snek/system/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snek/system/template.py b/src/snek/system/template.py index 668efc3..097f21a 100644 --- a/src/snek/system/template.py +++ b/src/snek/system/template.py @@ -193,7 +193,7 @@ def embed_youtube(text): "www.youtube-nocookie.com", "youtube-nocookie.com", ] - and any(url.path.startswith(p) for p in ["/watch", "/embed"]) + and any(url.path.startswith(p) for p in ["/watch", "/embed", "/shorts"]) ): queries = parse_qs(url.query) if "v" in queries: