Skip to content

Shortcode for Video Pop-up

To create a Pop-up for Vimeo and Youtube videos you can now use this shortcode.

[di-video][/di-video]

Simply place the Iframe code in between the shortcode to generate the pop-up.

Here is an example of shortcode and the pop-up in action:

[di-video]
<iframe src="https://www.youtube.com/embed/h6JLEDmsNWk" height="350" width="800" allowfullscreen= frameborder="0"></iframe>
[/di-video]