CM Pop-Up Banners (CMPB) - Video Pop-Up Banner

Video Pop-Up Banner

With the CM Popup Banners plugin you can trigger the popup to appear once hovering or clicking over an element on the page. Banner can also contains a video.

To create video banner navigate to the Admin Dashboard -> CM Pop-Up Banners -> Add New Campaign.

To display video (for example from Vimeo) in the pop-up banner place <iframe> element with video URL as src attribute in the content (make sure you are in Text mode). You can also set weight and height attributes like shown below:

<iframe src="//player.vimeo.com/video/VIDEO_ID" width="650px" height="360px" style="width: 640px; height: 360px;"></iframe>

Scroll down to the Campaign Options.

In Basic Visual tab set values for Width and Heights as for iframe attributes.

Click on Activity tab. Here you can decide when video pop-up should be displayed. Read more about triggers here.

To complete Campaign set the rest of pop-up options (read more here) and publish Campaign.

Below: Front-end Pop-Up Banner with video.

Adding an AutoPlay

Making the video auto play depends on the parameters you use in the iframe and depends on the platform you use (Vimeo, Youtube, Wistia or other)

For YouTube you need to pass something like this:

<iframe width="640" height="360" src="[YouTube Video URL]?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
	

For Vimeo simply add ' &autoplay=true' add the end of your embed src url


More information about the CM Pop-Up Banners & Disclaimer WordPress  Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center