This commit is contained in:
Aevann1 2022-04-17 15:53:00 +02:00
parent 589cf3c673
commit a26dd97e5f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 KiB

After

Width:  |  Height:  |  Size: 258 KiB

Before After
Before After

View file

@ -170,7 +170,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
t = params.get('t', params.get('start', [0]))[0]
if isinstance(t, str): t = t.replace('s','')
htmlsource = f'<lite-youtube videoid="{i.group(1)}" params="autoplay=1&modestbranding=1'
htmlsource = f'<lite-youtube videoid="{i.group(2)}" params="autoplay=1&modestbranding=1'
if t: htmlsource += f'&start={t}'
htmlsource += '"></lite-youtube>'