diff --git a/layouts/partials/blocks/templates/video/GetIframe b/layouts/partials/blocks/templates/video/GetIframe index dd720fcdb7527f3ada13f3f84bd72b63a0f2758a..947f0b926c56231d0c144b446928d9399ca32ef7 100644 --- a/layouts/partials/blocks/templates/video/GetIframe +++ b/layouts/partials/blocks/templates/video/GetIframe @@ -53,3 +53,9 @@ {{ end }} {{ end }} {{ end }} +{{ if not $identifier }} + {{ partial "blocks/templates/video/iframe.html" (dict + "url" $url + "title" $title + )}} +{{ end }} diff --git a/layouts/partials/blocks/templates/video/iframe.html b/layouts/partials/blocks/templates/video/iframe.html new file mode 100644 index 0000000000000000000000000000000000000000..65585f5a5264ffaffc12d1582dccc6ebd1bb0852 --- /dev/null +++ b/layouts/partials/blocks/templates/video/iframe.html @@ -0,0 +1,5 @@ +<iframe + src="{{ .url }}" + title="{{ .title }}" + loading="lazy"> +</iframe> \ No newline at end of file