summaryrefslogtreecommitdiff
path: root/templates/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blocks')
-rw-r--r--templates/blocks/video.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/blocks/video.html b/templates/blocks/video.html
index b906e9d..55c55e5 100644
--- a/templates/blocks/video.html
+++ b/templates/blocks/video.html
@@ -1,9 +1,11 @@
<div class="videodiv">
- {%if this.caption %}<h2 class="gallerytitle">{{ this.caption }}</h2>{% endif %}
<div class="video">
<video max-width="720px" preload="metadata" controls="">
{% set video = record.attachments.videos.get(this.url) %}
<source src="{{ video|url }}" type="video/mp4">
</video>
+ {% if this.caption %}
+ <div class="caption">{{this.caption}}</div>
+ {% endif %}
</div>
</div>