remove unnecessary shit

pull/225/head
Aevann 2024-03-05 02:28:50 +02:00
parent 886430b2e6
commit 7922e0c014
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ def handle_youtube_links(url):
t = minutes*60 + seconds
html = f'<lite-youtube videoid="{id}"'
if t:
try: html += f' params="&start={int(t)}"'
try: html += f' params="start={int(t)}"'
except: abort(400, f"Something is wrong with the url you submitted ({url}) and it couldn't be parsed.")
html += '></lite-youtube>'
return html

View File

@ -82,7 +82,7 @@
<td>Youtube Videos</td>
<td>https://youtube.com/watch?v=3Hecr51ByE4</td>
<td>
<lite-youtube videoid="3Hecr51ByE4" params="modestbranding=1"></lite-youtube>
<lite-youtube videoid="3Hecr51ByE4"></lite-youtube>
</td>
</tr>
<tr>