From b97ceb124f2a8d81914a02f3ac8b3e92ea341069 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 7 Sep 2021 00:45:45 +0200 Subject: [PATCH] gf --- files/templates/default.html | 5 +++-- files/templates/submission_listing.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 7d4dc7ce1b..084597dae8 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -496,9 +496,9 @@ var inlineVideo = document.getElementById("desktop-expanded-video"); - inlineVideo.src = video.replace("100w.gif", "giphy.gif"); + inlineVideo.src = video; linkText.href = video; - videoLink.href=video; + videoLink.href = video; linkText.textContent = 'View original'; }; @@ -1179,6 +1179,7 @@ {% endif %} {% include "expanded_image_modal.html" %} +{% include "expanded_video_modal.html" %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 48693c60fb..0be6de70c6 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -73,7 +73,7 @@ {% elif p.embed_url and "youtu" in p.domain %} - + {% elif p.url and "streamable.com/e/" in p.url %}