diff options
author | joak <joak@nospace.at> | 2025-08-15 04:04:51 +0200 |
---|---|---|
committer | joak <joak@nospace.at> | 2025-08-15 04:04:51 +0200 |
commit | dd9aeadf6072b5262de4396ea01061294316eec4 (patch) | |
tree | 8a9d68ef046a750efea6a873bab1766791d84340 /templates/blocks/video.html | |
parent | 81197139da47dbd9f28b93bed3114296952dac27 (diff) |
correctin caption video and images
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> |