aboutsummaryrefslogtreecommitdiff
path: root/content/video-streaming-sites/overview-embed-streamable.md
blob: 124fc00ec481051d590df5ddc0234d84de3f24e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
+++
date = 2021-05-06T15:00:00Z
description = "Sample article showcasing a custom Zola component for embedding Streamable Videos into your pages."
draft = false
title = "Embed Streamable"

[extra]
keywords = "Video, Components, Embed, Embedded, Streamable"
series = "Features"
toc = true

[taxonomies]
tags = [
    "Features",
    "Components",
    "Video",
]
+++
Zola has many components, and new are easily added, this example shows streamable.

<!-- more -->

## Streamable

### Usage

{% raw %}
```rs
{{<streamable id="92ok4" />}}
```
{% endraw %}

- `id` - the video id (mandatory)
- `class` - a class to add to the &lt;div&gt; surrounding the iframe (optional)
- `title` - set alt title for the iframe (optional, defaults to "Streamable")

### Output

```html
{{<streamable id="92ok4" />}}
```

{{<streamable id="92ok4" />}}