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