Jquery ui lightbox pop up window couldn't overlap iframe with YouTube video

Q: I'm having conflict with Visual Lightbox and YouTube video embed, for some reason the Visual Lightbox opens behind the YouTube video.
Please advise if there is a way to fix it.

A: The reason of problem is iframe where you added YouTube video.

To make VisualLightBox pop up window overlap iframe you should add wmode="opaque" to
YouTube link. You'll have:

<iframe width="320" height="240" frameborder="0" allowfullscreen="" src="http://www.youtube.com/watch?v=wN68cT6gvXc?wmode=opaque"></iframe>

Related