<figure {{ with .Get "class" }}class="{{ . }}"{{ end }}>
  <video controls  width="100%" preload="{{ .Get "preload" | default "metadata" }}">
    <source src="{{ . | relURL }}" type="video/mp4">
    {{ with .Get "src" }}<source src="{{ . | relURL }}" type="video/mp4">{{ end }}
  </video>
</figure>