diff options
Diffstat (limited to 'content/overview-embed-streamable.md')
| -rw-r--r-- | content/overview-embed-streamable.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/content/overview-embed-streamable.md b/content/overview-embed-streamable.md new file mode 100644 index 0000000..2478d06 --- /dev/null +++ b/content/overview-embed-streamable.md @@ -0,0 +1,33 @@ ++++ +title = "Embed Streamable Video" +description = "Sample article showcasing a custom Zola shortcode for embedding Streamable Videos into your pages." +date = 2021-05-06 +draft = false + +[taxonomies] +categories = ["Features"] +tags = ["shortcodes","video"] +[extra] +keywords = "Video, Shortcodes, Embed, Embedded, Streamable" ++++ + +Zola has many shortcodes, and new are easily added, this example shows streamable. +<!-- more --> + +## Streamable + +### Usage + +```rs +{{/* streamable(id="92ok4") */}} +``` + +- `id`: the video id (mandatory) +- `class`: a class to add to the <div> surrounding the iframe (optional) +- `title` - set alt title for the iframe (optional, defaults to "Streamable") + +### Output +```html +{{ streamable(id="92ok4") }} +``` +{{ streamable(id="92ok4") }} |
