www.franconian.net/layouts/shortcodes/video.html

8 lines
212 B
HTML
Raw Normal View History

2020-12-01 23:07:04 +01:00
<figure>
<video muted autoplay loop>
<source src="{{ .Get "mp4" }}" type="video/mp4">
<source src="{{ .Get "webm" }}" type="video/webm">
</video>
<figcaption>{{ .Get "alt" }}</figcaption>
</figure>