From b1f5aef17fe6816c11d868c1e731ed23ca41e991 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 17:48:37 +0100 Subject: [PATCH] video path --- webinterface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webinterface.py b/webinterface.py index 54a556920..d4ae6d589 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1015,8 +1015,8 @@ def addEmbeddedVideo(content: str,width=640,height=360) -> str: if '>vimeo.com/' in content: url=content.split('>vimeo.com/')[1] if '<' in url: - url='vimeo.com/'+url.split('<')[0] - content=content+"" + url=url.split('<')[0] + content=content+"" return content def individualPostAsHtml(baseDir: str, \