Correct YouTube zindex issue with layers
There is a nasty bug relating to youtube flash player embed code and problems with lightbox layers which require a high z-index value (Youtube video appears on top of everything). This is common in most IE-8-11 browsers from my testing, and some older versions of Chrome as well.
For older Flash developers you will remember the attribute wmode=”transparent” or wmode=”opaque” which was used to fix the same issue with Flash swf files.
The new YouTube embed however, uses IFRAME so there are 2 options.
Add in this jquery script which will adjust iframes to use wmode variable.