summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index edb681b..f3d210b 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,12 +1,12 @@
<div class="video">
<h2><TMPL_VAR title></h2>
<div class="videocontainer">
-<TMPL_IF stem><video playsinline autoplay muted poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
+<TMPL_IF stem><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" controls>
<TMPL_UNLESS nomp4><source src="//media.couchdesign.dk/<TMPL_VAR stem>.webm" type="video/webm" />
</TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.couchdesign.dk/<TMPL_VAR stem>.mp4" type="video/mp4" />
</TMPL_UNLESS><img src="//media.couchdesign.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>"
title="Sorry, the video formats provided are not supported by your browser." />
-<TMPL_ELSE><video playsinline autoplay muted controls>
+<TMPL_ELSE><video <TMPL_IF name>id="<TMPL_VAR name>"</TMPL_IF> playsinline autoplay muted controls>
</TMPL_IF></video>
</div>
</div>