Improved site embedding #57

Merged
retoor merged 2 commits from :feat/improved-embeding into main 2025-06-29 16:24:34 +02:00
Showing only changes of commit ee11cde835 - Show all commits

View File

@ -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: