Quick Tip: <embed> z-index like issues

Video showing in front of static element

Add the following attributes to all embedded videos or maps that appear in front of a static element (such as a toolbar or footer bar) to push them back where they belong:

style="z-index: 0" wmode="transparent"

Video showing behind static element

Its very rare that you would need to do this, but more statically positioned toolbars and such have been popping up all over the place, so, it seems it will become more and more common as this trend spreads.

Leave a Reply