Embeds a YouTube video.
| Parameter | Default Value | Possible Values |
|---|---|---|
url |
<required> |
Youtube URL (watch, youtu.be or shorts link) |
width |
<none> |
Number in pixels or empty to fill available page width |
height |
<none> |
Number in pixels or empty to keep the video ratio |
autoplay |
false |
true, false. Setting to true will automatically mute the video. |
controls |
true |
true, false |
fs |
true |
true, false. Whether to allow full screen or not. |
loop |
false |
true, false |
start |
0 |
Seconds into the video to start at. 0 uses the time in the URL, if it carries one. |
::block-youtube{url="https://youtu.be/RMveiKaXtQw"}
::