valor/layouts/shortcodes/video.html

4 lines
211 B
HTML
Raw Normal View History

2022-09-16 16:04:52 -04:00
<video {{if .Get "autoplay"}}autoplay muted loop preload="true"{{else}}controls preload="false"{{end}}>
2022-09-17 19:22:44 -04:00
<source src='{{.Site.BaseURL}}{{.Get "src" }}'>
<source src='{{.Site.BaseURL}}{{.Get 0}}'>
2022-08-17 14:47:54 -04:00
</video>