Set width and height

merge-requests/30/head
Bob Mottram 2022-10-08 19:31:29 +01:00
parent 179980eed3
commit 2168ca6e03
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ def _add_embedded_video_from_sites(translate: {}, content: str,
'<iframe src="https://player.twitch.tv/?channel=' + \
channel + '&parent=' + domain + '" ' + \
'frameborder="0" allowfullscreen="true" ' + \
'scrolling="no" height="378" width="620"></iframe>' + \
'scrolling="no" height="' + str(height) + \
'" width="' + str(width) + '"></iframe>' + \
'</span>\n</center>\n'
return content