From 05c1c5f8602e03c441933bbbbf6c4d7c5b9cf699 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 18:38:55 +0100 Subject: [PATCH] Fixed video dimensions --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index fa4cccfe..68dcfb55 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1016,14 +1016,14 @@ def addEmbeddedVideo(content: str) -> str: url=content.split('>vimeo.com/')[1] if '<' in url: url=url.split('<')[0] - content=content+"" + content=content+"
" return content if '"https://www.youtube.com' in content: url=content.split('"https://www.youtube.com')[1] if '"' in url: url=url.split('"')[0].replace('/watch?v=','/embed/') - content=content+"
" + content=content+"
" return content return content