1. Home
  2. Docs
  3. XYZ WP Popup – Premium
  4. FAQ
  5. How can I display the close button over the video?

How can I display the close button over the video?

In few cases, the embed video will stay over the close button in the popup.

This is because of the property of the video you are using.

To solve this issue, please use the value “wmode=transparent” with the video source.

For example, the embed code of a youtube video is like

<iframe width=”600″ height=”375″ src=”https://www.youtube.com/embed/abcd12345?” frameborder=”0″ allowfullscreen></iframe>

Please change it to

<iframe width=”600″ height=”375″ src=”https://www.youtube.com/embed/abcd12345?wmode=transparent” frameborder=”0″ allowfullscreen></iframe>

Was this article helpful to you? Yes No