remove unnecessary shit
parent
886430b2e6
commit
7922e0c014
|
@ -311,7 +311,7 @@ def handle_youtube_links(url):
|
||||||
t = minutes*60 + seconds
|
t = minutes*60 + seconds
|
||||||
html = f'<lite-youtube videoid="{id}"'
|
html = f'<lite-youtube videoid="{id}"'
|
||||||
if t:
|
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.")
|
except: abort(400, f"Something is wrong with the url you submitted ({url}) and it couldn't be parsed.")
|
||||||
html += '></lite-youtube>'
|
html += '></lite-youtube>'
|
||||||
return html
|
return html
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<td>Youtube Videos</td>
|
<td>Youtube Videos</td>
|
||||||
<td>https://youtube.com/watch?v=3Hecr51ByE4</td>
|
<td>https://youtube.com/watch?v=3Hecr51ByE4</td>
|
||||||
<td>
|
<td>
|
||||||
<lite-youtube videoid="3Hecr51ByE4" params="modestbranding=1"></lite-youtube>
|
<lite-youtube videoid="3Hecr51ByE4"></lite-youtube>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue