Skip to content
Snippets Groups Projects
Commit 99bc4924 authored by alexisben's avatar alexisben
Browse files

block video: handle iframe url

parent 35947a3d
No related branches found
No related tags found
No related merge requests found
...@@ -53,3 +53,9 @@ ...@@ -53,3 +53,9 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if not $identifier }}
{{ partial "blocks/templates/video/iframe.html" (dict
"url" $url
"title" $title
)}}
{{ end }}
<iframe
src="{{ .url }}"
title="{{ .title }}"
loading="lazy">
</iframe>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment