Member:
Markus ⋅
Date: March 10, 2010, 08:01 AM
⋅ Subject: "Re: Page Builder hidden by embedded videos [Solved]"
So the secret switch for controlling Flash stacking order and getting it to obey the given z-index CSS parameter has now been unearthed! This is apparently not too widely known, and wasn't evident in the dozen or so articles I read before that just categorically noted that Flash is laid over just because, and that's just the way it is.
Inside the object tag, you need to have the following parameter:
<param name="wmode" value="transparent" />
And inside the embed tag, you need to have the following:
wmode="transparent"
This will make the Flash behave and be at the layer it's meant to be at. I have now modified all video embed templates in skin_video_ow.php to include the correct wmode parameter, and the 1.21.1 release will roll this out across the board.
Still, if you add in video tags directly to the HTML or add them with the TinyMCE flash embedding button, you will need to add this in yourself. The param tag should go inside object, and the wmode="transparent" should be inside the embed tag.
If you don't have wmode set to transparent, Flash will just overlay everything and disregard the z-index stacking order you have defined with CSS. I don't know why Flash should want to behave like this, but at any rate that's how you get it fixed, and that's also why these embedded videos were kept in their place, as in the screenshot of the previous post.