forked from indymedia/epicyon
video width unspecified
parent
21546537f3
commit
353684e3aa
|
@ -1016,7 +1016,7 @@ def addEmbeddedVideo(content: str) -> str:
|
||||||
url=content.split('>vimeo.com/')[1]
|
url=content.split('>vimeo.com/')[1]
|
||||||
if '<' in url:
|
if '<' in url:
|
||||||
url=url.split('<')[0]
|
url=url.split('<')[0]
|
||||||
content=content+"<iframe src=\"https://player.vimeo.com/video/"+url+"\" width=\"100%\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen></iframe>"
|
content=content+"<iframe src=\"https://player.vimeo.com/video/"+url+"\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen></iframe>"
|
||||||
return content
|
return content
|
||||||
|
|
||||||
def individualPostAsHtml(baseDir: str, \
|
def individualPostAsHtml(baseDir: str, \
|
||||||
|
|
Loading…
Reference in New Issue