Add YouTube and Vimeo embed shortcodes (fixes #57)
This commit is contained in:
4
templates/shortcodes/vimeo.html
Normal file
4
templates/shortcodes/vimeo.html
Normal file
@ -0,0 +1,4 @@
|
||||
<iframe class="vimeo-embed"
|
||||
src="https://player.vimeo.com/video/{{ id }}{% if autoplay %}?autoplay=1{% endif %}"
|
||||
allow="autoplay; fullscreen; picture-in-picture"
|
||||
allowfullscreen></iframe>
|
Reference in New Issue
Block a user