aboutsummaryrefslogtreecommitdiff
path: root/content/overview-embed-vimeo.md
diff options
context:
space:
mode:
authorJieiku2023-05-22 23:09:27 -0700
committerJieiku2023-05-22 23:09:27 -0700
commit9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (patch)
treee82f984f8b5649336016d62607dcf2b5292f0ee1 /content/overview-embed-vimeo.md
parentd9fb3248650404ad6d078eba39b8b91381b1ebed (diff)
downloadabridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.tar.gz
abridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.tar.bz2
abridge-9543caf10ffdbcc2cea462a8bcb64cee29d406d5.zip
Syntax Highlighting Variables
Diffstat (limited to 'content/overview-embed-vimeo.md')
-rw-r--r--content/overview-embed-vimeo.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/content/overview-embed-vimeo.md b/content/overview-embed-vimeo.md
new file mode 100644
index 0000000..bc8cd93
--- /dev/null
+++ b/content/overview-embed-vimeo.md
@@ -0,0 +1,37 @@
++++
+title = "Embed Vimeo Video"
+description = "Sample article showcasing a custom Zola shortcode for embedding Vimeo Videos into your pages."
+date = 2021-05-07
+draft = false
+
+[taxonomies]
+categories = ["Features"]
+tags = ["shortcodes","video"]
+[extra]
+keywords = "Video, Shortcodes, Embed, Embedded, Vimeo"
++++
+
+Zola has many shortcodes, and new are easily added, this example shows vimeo.
+<!-- more -->
+
+## Vimeo
+
+### Usage
+
+```rs
+{{/* vimeo(id="514402648") */}}
+```
+
+- `id`: the video id (mandatory)
+- `class`: a class to add to the &lt;div&gt; surrounding the iframe (optional)
+- `autoplay`: when set to "true", the video autoplays on load (optional)
+- `loop`: when set to "true", the video plays on a loop (optional)
+- `noautopause`: when set to "true", the video will not autopause (optional)
+- `title` - set alt title for the iframe (optional, defaults to "Vimeo")
+- `cookie` - set to "true" if you want tracking cookies, otherwise it defaults to false.
+
+### Output
+```html
+{{ vimeo(id="514402648") }}
+```
+{{ vimeo(id="514402648") }}