summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-24 13:30:53 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-24 13:30:53 +0100
commit721e075740b7dbe07908673070caf28e97aae610 (patch)
tree2321ea7e780d29d126e5c9b6f17c9b8c32e3958a /templates
parent20206b5ac7346f37837d1005ce411615b8a7cf1e (diff)
Add draft show page.
Diffstat (limited to 'templates')
-rw-r--r--templates/video.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn
new file mode 100644
index 0000000..63400de
--- /dev/null
+++ b/templates/video.mdwn
@@ -0,0 +1,9 @@
+<div class="video">
+<h2><TMPL_VAR title></h2>
+<video playsinline autoplay muted loop poster="//media.couchdesign.dk/<TMPL_VAR stem>.jpg">
+<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." />
+</video>
+</div>