remove unnecessary shit
parent
886430b2e6
commit
7922e0c014
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue