diff --git a/webinterface.py b/webinterface.py index 371ac3ce..a42b7a05 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1009,14 +1009,14 @@ def htmlRemplaceEmojiFromTags(content: str,tag: {}) -> str: content=content.replace(tagItem['name'],emojiHtml) return content -def addEmbeddedVideo(content: str) -> str: +def addEmbeddedVideo(content: str,width=320) -> str: """Adds embedded videos """ if '>vimeo.com/' in content: url=content.split('>vimeo.com/')[1] if '<' in url: url=url.split('<')[0] - content=content+"" + content=content+"" return content def individualPostAsHtml(baseDir: str, \