hugo-page/themes/tsc_vfl/layouts/shortcodes/tsc/news/youtube-video.html

11 lines
451 B
HTML
Raw Normal View History

2023-10-25 12:38:54 +00:00
<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"
2024-01-07 10:53:49 +00:00
allowfullscreen
class="youtube-video">
2023-10-25 12:38:54 +00:00
</iframe>