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.
Example
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).
Learn How To Get Embed Code
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 a 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.
Adding an AutoPlay
Making the video autoplay 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' at 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 |