diff options
author | Siri Reiter <siri@jones.dk> | 2014-08-31 00:15:23 +0200 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2014-08-31 00:15:23 +0200 |
commit | c82c9c77e4d8ce167d28760030ad997f5b63931e (patch) | |
tree | c5fd0fe3745d74d553b458f728d1d7024a2631d2 /templates/video.mdwn | |
parent | 45558895cbdc777b9d8ab979d2181cb92bcd0163 (diff) |
Add video template and test-video.
Diffstat (limited to 'templates/video.mdwn')
-rw-r--r-- | templates/video.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn new file mode 100644 index 00000000..dafc63fb --- /dev/null +++ b/templates/video.mdwn @@ -0,0 +1,15 @@ +<div class="video"> +<h2><TMPL_VAR title></h2> +<video width="<TMPL_VAR width>" height="<TMPL_VAR height>" preload controls> +<source src="//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> +<TMPL_UNLESS noogg><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.ogv" type='video/ogg; codecs="theora, vorbis"' /> +</TMPL_UNLESS><TMPL_UNLESS nowebm><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.webm" type='video/webm; codecs="vp8, vorbis"' /> +</TMPL_UNLESS><img src="//media.bynu.biks.dk/<TMPL_VAR stem>.jpg" width="<TMPL_VAR width>" height="<TMPL_VAR height>" + title="Ingen videounderstøttelse, hent videoen i stedet." /> +</video> +<p><strong>Hent video:</strong> +<TMPL_UNLESS noogg><a href="//media.bynu.biks.dk/<TMPL_VAR stem>.ogv">Ogg</a>, +</TMPL_UNLESS><TMPL_UNLESS nowebm><a href=//media.bynu.biks.dk/<TMPL_VAR stem>.webm>WebM</a>, +</TMPL_UNLESS><a href="//media.bynu.biks.dk/<TMPL_VAR stem>.mp4">MP4</a>. +</p> +</div> |