diff --git a/files/templates/default.html b/files/templates/default.html index ea5dcba3b..97f069014 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -484,27 +484,6 @@ linkText.textContent = 'View original'; }; - - // Expand Videos on Desktop - - function expandDesktopVideo(video, link) { - - var linkText = document.getElementById("desktop-expanded-video-link"); - var inlineVideo = document.getElementById("desktop-expanded-video"); - - inlineVideo.src = video; - linkText.href = video; - - linkText.textContent = 'View original'; - }; - - function expandDesktopVideo2(video, link) { - - var inlineVideo = document.getElementById("desktop-expanded-video2"); - inlineVideo.innerHTML = ``; - }; - - post_comment=function(fullname){ @@ -1181,8 +1160,6 @@ {% endif %} {% include "expanded_image_modal.html" %} -{% include "expanded_video_modal.html" %} -{% include "expanded_video_modal2.html" %} diff --git a/files/templates/expanded_video_modal.html b/files/templates/expanded_video_modal.html deleted file mode 100644 index 6211531a4..000000000 --- a/files/templates/expanded_video_modal.html +++ /dev/null @@ -1,18 +0,0 @@ - - -
diff --git a/files/templates/expanded_video_modal2.html b/files/templates/expanded_video_modal2.html deleted file mode 100644 index 8ae3e24e4..000000000 --- a/files/templates/expanded_video_modal2.html +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/files/templates/formatting.html b/files/templates/formatting.html index ea594f485..fa9bb9371 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -143,8 +143,6 @@ We also have some custom hooks for mentioning users and subreddits. Note that th {% include "expanded_image_modal.html" %} -{% include "expanded_video_modal.html" %} -{% include "expanded_video_modal2.html" %} diff --git a/files/templates/submission.html b/files/templates/submission.html index cff946113..05c7578ce 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -311,12 +311,12 @@ {% elif not p.embed_url and not p.is_image and not p.is_video %} - -