
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
	<div class="flex-video">
		<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/{{ .Get "videoId" }}" allowfullscreen frameborder="0">
		</iframe>
	</div>
	{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
	<figcaption>
		{{ if isset .Params "title" }}<h4>{{ .Get "title" }}</h4>{{ end }}
		{{ if or (.Get "caption") (.Get "attr")}}<p>{{ .Get "caption" }}</p> {{ end }}
	</figcaption>
	{{ end }}
</figure>
