<div class="video-wrapper">
    <video
    controls
    {{ with .Get "poster" }}poster="{{- . -}}"{{ end }}
    {{ with .Get "src" }}src="{{- . -}}"{{ end }}
    {{ with .Get "autoplay" }}autoplay{{ end }}
    >
        <p>
            Your browser doesn't support HTML5 video. Here is a
            <a href="{{ with .Get "src" }}{{- . -}}{{ end }}">link to the video</a> instead.
        </p>
    </video>
</div>
