diff options
| author | Jieiku | 2023-09-21 01:34:48 -0700 |
|---|---|---|
| committer | Jieiku | 2023-09-21 01:34:48 -0700 |
| commit | ba30a59c478715056ac2d01d16aac75a22ea0628 (patch) | |
| tree | eb9b5dde3b047c936b894295e79dcc71753ce0a1 /content/video-streaming-sites/overview-embed-vimeo.md | |
| parent | 265dd224d5268bddda494b641b834e06ade4e107 (diff) | |
| download | abridge-ba30a59c478715056ac2d01d16aac75a22ea0628.tar.gz abridge-ba30a59c478715056ac2d01d16aac75a22ea0628.tar.bz2 abridge-ba30a59c478715056ac2d01d16aac75a22ea0628.zip | |
Transparent Section for Organization
Diffstat (limited to 'content/video-streaming-sites/overview-embed-vimeo.md')
| -rw-r--r-- | content/video-streaming-sites/overview-embed-vimeo.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/content/video-streaming-sites/overview-embed-vimeo.md b/content/video-streaming-sites/overview-embed-vimeo.md new file mode 100644 index 0000000..490cac2 --- /dev/null +++ b/content/video-streaming-sites/overview-embed-vimeo.md @@ -0,0 +1,38 @@ ++++ +title = "Embed Vimeo" +description = "Sample article showcasing a custom Zola shortcode for embedding Vimeo Videos into your pages." +date = 2021-05-07 +draft = false + +[taxonomies] +tags = ["Features","Shortcodes","Video"] +[extra] +keywords = "Video, Shortcodes, Embed, Embedded, Vimeo" +toc = true +section = "Features" ++++ + +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 <div> 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") }} |
