diff options
author | Michael Romero <michael.robert.romero@gmail.com> | 2019-09-21 20:57:49 +0300 |
---|---|---|
committer | Michael Romero <michael.robert.romero@gmail.com> | 2019-09-21 20:57:49 +0300 |
commit | e80f9a5551c6a05630cf7436748d3b87cfae349a (patch) | |
tree | 315094bfd13334997ae5d3cb5f1767fdec93cb77 /layouts | |
parent | 8e69671d5e51710974253bbf61b8f335fa139ca7 (diff) |
Bugfix for video in post preview
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/post_preview.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/post_preview.html b/layouts/partials/post_preview.html index cb5e619..0411585 100644 --- a/layouts/partials/post_preview.html +++ b/layouts/partials/post_preview.html @@ -10,7 +10,9 @@ <img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" /> {{ end }} {{ if .Params.video }} - <video src="{{ .Params.video }}" loop autoplay muted playsinline class="img-title" /> + <video loop autoplay muted playsinline class="img-title"> + <source src="{{ .Params.video }}"> + </video> {{ end }} </a> |