mirror of https://gitlab.com/bashrc2/epicyon
Youtube url
parent
08e5f5ba8f
commit
cc30725f6c
|
@ -74,6 +74,7 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
|
||||||
url = url.split('&')[0]
|
url = url.split('&')[0]
|
||||||
if '?utm_' in url:
|
if '?utm_' in url:
|
||||||
url = url.split('?utm_')[0]
|
url = url.split('?utm_')[0]
|
||||||
|
video_site = 'https://www.youtube.com/'
|
||||||
content += \
|
content += \
|
||||||
"<center>\n<iframe loading=\"lazy\" src=\"" + \
|
"<center>\n<iframe loading=\"lazy\" src=\"" + \
|
||||||
video_site + url + "\" width=\"" + str(width) + \
|
video_site + url + "\" width=\"" + str(width) + \
|
||||||
|
|
Loading…
Reference in New Issue