diff options
author | Siri Reiter <siri@pjones.dk> | 2021-02-14 12:44:11 +0100 |
---|---|---|
committer | Siri Reiter <siri@pjones.dk> | 2021-02-14 12:44:11 +0100 |
commit | fa856f28d6a7daf0bdb76901b96289c490aec8be (patch) | |
tree | 7e9d84f4b4d9422425633aab1706ce1e441b80f5 /templates/video.mdwn | |
parent | 8d6d6512283a09c02465b069e03f9b62acb09edf (diff) |
add poster to video template
Diffstat (limited to 'templates/video.mdwn')
-rw-r--r-- | templates/video.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/video.mdwn b/templates/video.mdwn index b745baf7..6ae5fac2 100644 --- a/templates/video.mdwn +++ b/templates/video.mdwn @@ -1,6 +1,6 @@ <div class="video"> <h2><TMPL_VAR title></h2> -<video width="<TMPL_VAR width>" height="<TMPL_VAR height>" preload controls> +<video width="<TMPL_VAR width>" height="<TMPL_VAR height>" preload controls poster="//media.bynu.biks.dk/<TMPL_VAR stem>.jpg"> <source src="//media.bynu.biks.dk/<TMPL_VAR stem>.mp4" type="video/mp4" /> <TMPL_UNLESS nowebm><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.webm" type="video/webm" /> </TMPL_UNLESS><TMPL_UNLESS noogg><source src="//media.bynu.biks.dk/<TMPL_VAR stem>.ogv" type="video/ogg" /> |