{% if p.is_image %}
-
-
-
- {% elif p.url and p.url.lower().endswith('.mp4') %}
-
+
+
+
+ {% elif p.is_video %}
+
{% endif %}
{{p.realbody(v) | safe}}
diff --git a/files/templates/CHRISTMAS/submission_listing.html b/files/templates/CHRISTMAS/submission_listing.html
index 7275847fd..d91fd25f4 100644
--- a/files/templates/CHRISTMAS/submission_listing.html
+++ b/files/templates/CHRISTMAS/submission_listing.html
@@ -149,6 +149,8 @@
{% if p.is_image %}
(image post)
+ {% if p.is_video %}
+
(video post)
{% elif p.realurl(v) %}
({{p.domain}})
@@ -285,7 +287,7 @@
{% endif %}
{% if not p.club or v and (v.paid_dues or v.id == p.author_id) %}
- {% if p.url and p.url.lower().endswith('.mp4') %}
+ {% if p.is_video %}