mirror of https://gitlab.com/bashrc2/epicyon
Set width and height
parent
179980eed3
commit
2168ca6e03
|
@ -54,7 +54,8 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
|
||||||
'<iframe src="https://player.twitch.tv/?channel=' + \
|
'<iframe src="https://player.twitch.tv/?channel=' + \
|
||||||
channel + '&parent=' + domain + '" ' + \
|
channel + '&parent=' + domain + '" ' + \
|
||||||
'frameborder="0" allowfullscreen="true" ' + \
|
'frameborder="0" allowfullscreen="true" ' + \
|
||||||
'scrolling="no" height="378" width="620"></iframe>' + \
|
'scrolling="no" height="' + str(height) + \
|
||||||
|
'" width="' + str(width) + '"></iframe>' + \
|
||||||
'</span>\n</center>\n'
|
'</span>\n</center>\n'
|
||||||
return content
|
return content
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue