Version 1
[yaffs-website] / web / modules / contrib / video_embed_field / templates / video-embed-iframe.html.twig
diff --git a/web/modules/contrib/video_embed_field/templates/video-embed-iframe.html.twig b/web/modules/contrib/video_embed_field/templates/video-embed-iframe.html.twig
new file mode 100644 (file)
index 0000000..353e0db
--- /dev/null
@@ -0,0 +1,7 @@
+{#
+/**
+ * @file
+ * Display an iframe with alterable components.
+ */
+#}
+<iframe{{ attributes }}{% if url is not empty %} src="{{ url }}{% if query is not empty %}?{{ query | url_encode }}{% endif %}{% if fragment is not empty %}#{{ fragment }}{% endif %}"{% endif %}></iframe>