remotes/1693045480750635534/spooky-22
Aevann1 2021-08-21 14:51:19 +02:00
parent 7dbdd3f8ab
commit a36cc8d982
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ def submit_post(v):
if t: embed = f"https://youtube.com/embed/{yt_id}?start={t}"
else: embed = f"https://youtube.com/embed/{yt_id}"
elif app.config['SERVER_NAME'] in domain and "/post/" in url:
elif app.config['SERVER_NAME'] in domain and "/post/" in url and "context" not in url:
id = url.split("/post/")[1]
if "/" in id: id = id.split("/")[0]
embed = id