forked from tsc-vfl/hugo-page
12 lines
335 B
HTML
12 lines
335 B
HTML
<video controls
|
|
{{ with .Get "poster" }}poster="{{ . }}"{{ end }}
|
|
{{ with .Get "width" }}width="{{ . }}"{{ end }}
|
|
{{ with .Get "height" }}height="{{ . }}"{{ end }}
|
|
class="internal-video"
|
|
>
|
|
<source
|
|
{{ with .Get "type" }}type="{{ . }}"{{ end }}
|
|
src="{{ (.Page.Resources.GetMatch (.Get "src")).RelPermalink }}"
|
|
>
|
|
</video>
|