{"id":1004,"date":"2013-05-05T16:08:00","date_gmt":"2013-05-06T02:08:00","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=1004"},"modified":"2013-05-05T16:08:00","modified_gmt":"2013-05-06T02:08:00","slug":"z-index-iframes-and-ie","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/z-index-iframes-and-ie\/","title":{"rendered":"Z-Index, iFrames, and IE"},"content":{"rendered":"
I’m using the Apprise jQuery plugin to show a fancy alert box on a webpage. \u00a0The problem is I also have the embedded iFrame code from YouTube on the page. \u00a0When the fancy alert box shows in Internet Explorer, it shows behind the video. \u00a0It works in all other browsers.<\/p>\n
<\/p>\n
The solution is to add the wmode=transparent or wmode=opaque parameter to the youtube url. \u00a0Have the iframe point to something like the following:<\/p>\n
https:\/\/youtube.com\/watch?v=xyz%3Fwmode%3Dtransparent<\/p>\n
<\/p>\n