diff options
Diffstat (limited to 'templates/shortcodes/youtube.html')
-rw-r--r-- | templates/shortcodes/youtube.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/shortcodes/youtube.html b/templates/shortcodes/youtube.html new file mode 100644 index 0000000..573e269 --- /dev/null +++ b/templates/shortcodes/youtube.html @@ -0,0 +1,11 @@ +<div class="youtube-container"> + <iframe + src="https://www.youtube-nocookie.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" + frameborder="0" + title="YouTube embed" + webkitallowfullscreen + mozallowfullscreen + allowfullscreen + > + </iframe> +</div> |