forked from tsc-vfl/hugo-page
10 lines
425 B
HTML
10 lines
425 B
HTML
<iframe
|
|
{{ with .Get "width" }}width="{{ . }}"{{ end }}
|
|
{{ with .Get "height" }}height="{{ . }}"{{ end }}
|
|
src="https://www.youtube-nocookie.com/embed/{{ .Get "id" }}"
|
|
title="{{ with .Get "title" }}{{ . }}{{ else }}YouTube video player{{ end }}"
|
|
frameborder="0"
|
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
allowfullscreen>
|
|
</iframe>
|