freedom/layouts/shortcodes/video.html
2022-09-16 16:04:37 -04:00

3 lines
No EOL
147 B
HTML

<video {{if .Get "autoplay"}}autoplay muted loop preload="true"{{else}}controls preload="false"{{end}}>
<source src='{{.Get "src" }}'>
</video>