fds
This commit is contained in:
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 |
|
@ -170,7 +170,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False):
|
||||||
t = params.get('t', params.get('start', [0]))[0]
|
t = params.get('t', params.get('start', [0]))[0]
|
||||||
if isinstance(t, str): t = t.replace('s','')
|
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}'
|
if t: htmlsource += f'&start={t}'
|
||||||
htmlsource += '"></lite-youtube>'
|
htmlsource += '"></lite-youtube>'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue