summaryrefslogtreecommitdiff
path: root/templates/video.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-25 19:52:12 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-25 19:52:12 +0100
commitfa8c3e5736a0046f4b391d8d8c77c2ef733291f8 (patch)
treede045e0a0645e11af5bc58569c0f97f5dbfc531a /templates/video.mdwn
parent6d90d7cb8ac6e69179ba4a94cda351a0341c943f (diff)
Wrap videocontainer around video.
Diffstat (limited to 'templates/video.mdwn')
-rw-r--r--templates/video.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
index 098ef71..193fe77 100644
--- a/templates/video.mdwn
+++ b/templates/video.mdwn
@@ -1,5 +1,6 @@
<div class="video">
<h2><TMPL_VAR title></h2>
+<div class="videocontainer">
<video playsinline autoplay muted loop 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" />
@@ -7,3 +8,4 @@
title="Sorry, the video formats provided are not supported by your browser." />
</video>
</div>
+</div>