This widget shows a small preview thumbnail and title for a YouTube or Vimeo video. When clicked, it will open the video in a popup. Clicking outside the popup closes it again.
For more information on contributing to this repository visit Contributing to a GitHub repository!
This is the attribute containing the ID for the video. Make sure this matches the Video Source that is specified.
Here you can specify if the video ID will be for YouTube or Vimeo. These are currently the only supported video providers. Please send in an issue if you would like to see another video platform supported.
You can set this to have the video autoplay once the popup opens.
The width of the popup.
The height of the popup.
If you set this to true, the player will determine the width and height of the player, instead of using the Player width and height as set in 'Appearance'. Default: false
If you use the Responsive Fullscreen option, this will determine what the max width/height is of the player. It will center the video and scale it to the window width/height, multiplied by the percentage. Default: 90
An optional microflow that is triggered when the popup is opened.