Embed Youtube Video

Jake G May 08, 2021 #Features #Shortcodes #Video

Zola has many shortcodes, and new are easily added, this example shows youtube.

Youtube

Usage

{{ youtube(id="32gyFIWecuw") }}

Output

<div class="yv">
    <iframe src="https://www.youtube-nocookie.com/embed/32gyFIWecuw" title="Youtube" class="yvi" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>