diff options
Diffstat (limited to 'templates/blocks/video.html')
-rw-r--r-- | templates/blocks/video.html | 4 |
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> |