aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/vimeo.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/vimeo.html')
-rw-r--r--templates/shortcodes/vimeo.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/shortcodes/vimeo.html b/templates/shortcodes/vimeo.html
new file mode 100644
index 0000000..0fe3129
--- /dev/null
+++ b/templates/shortcodes/vimeo.html
@@ -0,0 +1,3 @@
+<div class="yv{% if class %} {{class}}{% endif %}">
+ <iframe src="https://player.vimeo.com/video/{{id}}?embedded=true{% if autoplay %}&autoplay=1{% endif %}{% if loop %}&loop=1{% endif %}{% if noautopause %}&autopause=0{% endif %}{% if not cookie %}&dnt=1{% endif %}" title="{{title | default(value='Vimeo') }}" class="yvi" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
+</div>