aboutsummaryrefslogtreecommitdiff
path: root/content/video-streaming-sites/overview-embed-youtube.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/video-streaming-sites/overview-embed-youtube.md')
-rw-r--r--content/video-streaming-sites/overview-embed-youtube.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/content/video-streaming-sites/overview-embed-youtube.md b/content/video-streaming-sites/overview-embed-youtube.md
index 55c92e1..86a83b9 100644
--- a/content/video-streaming-sites/overview-embed-youtube.md
+++ b/content/video-streaming-sites/overview-embed-youtube.md
@@ -28,10 +28,10 @@ Zola has many shortcodes, and new are easily added, this example shows youtube.
{{/* youtube(id="32gyFIWecuw") */}}
```
-- `id`: the video id (mandatory)
-- `playlist`: the playlist id (optional)
-- `class`: a class to add to the <div> surrounding the iframe (optional)
-- `autoplay`: when set to "true", the video autoplays on load (optional)
+- `id` - the video id (mandatory)
+- `playlist` - the playlist id (optional)
+- `class` - a class to add to the <div> surrounding the iframe (optional)
+- `autoplay` - when set to "true", the video autoplays on load (optional)
- `title` - set alt title for the iframe (optional, defaults to "Youtube")
- `cookie` - set to "true" if you want tracking cookies, otherwise it defaults to false.
@@ -40,4 +40,5 @@ Zola has many shortcodes, and new are easily added, this example shows youtube.
```html
{{ youtube(id="32gyFIWecuw") }}
```
+
{{ youtube(id="32gyFIWecuw") }}