if true, autoplay the video
the height specifying pixels or as a %
if true, remove all existing content from the info stack
a link to the video media. Must be served using https:
"video"
// add a YouTube video
{
type: "video",
src: "https://www.youtube.com/embed/Uuh_T648J_8?si=gixgQKrwc-VfKWAs",
height: "300px",
autoplay: true,
removeExisting: true,
}
// add a Vimeo video
{
type: "video",
src: "https://player.vimeo.com/video/91950815?h=ead95446e6&color=050505&title=0&byline=0&portrait=0",
height: "300px",
autoplay: true,
removeExisting: true,
}
Adds a video player to the info stack.
Using the infoUrl, infoAudio, infoText, and infoVideo events, media and text can be shown on the Info tab. Multiple entries can be active simultaneously and are arranged in a vertical stack in order of addition.