Bugfix for video in post preview

This commit is contained in:
Michael Romero 2019-09-21 10:57:49 -07:00
parent 8e69671d5e
commit e80f9a5551
1 changed files with 3 additions and 1 deletions

View File

@ -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>