Youtube video under thick box or lightbox display

I have youtube videos embedded, and I have a div that appears on top of the rest of the pages. The problem is that without adding additional parameters (wmode = opaque) to the youtube embed code, youtube videos appear above the lightbox.

Is there a better way to achieve this? How is some CSS that I can add to a div file?

Note. I do not use only lightboxes or thick boxes, but only my own base code. Css which I use for my lightbox div:

#shade {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: 000;
z-index: 1001;
}
+3
source share
2 answers

, flash z-. , - wmode. . . wmode YouTube, .

NB

  • ,
  • flash- . .
  • flash- html one

+2

All Articles