Embedded Youtube Videos
May 08, 2021 by Jake G [Features] #shortcodes #video - 1 minZola has many shortcodes, and new are easily added, this example shows youtube.
Youtube
with yt(id="the_id_here")
id
: the video id (mandatory)playlist
: the playlist id (optional)class
: a class to add to thesurrounding 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.