Are OBJECT & EMBED tags always on top?

flash, html

Solution

Set `wmode="transparent"` (transparent background) or `wmode="opaque"` (opaque background affected by `bgcolor`).

The default value is `window` which means that the object will have its own "window", so it is not affected by anything else in the webpage at all. If you set it to `transparent` or `opaque`, it will become "a part of the page".

Like:

<object ...>
    <param name="wmode" value="transparent" /> 
    ...
    <embed  wmode="transparent" ...></embed>
</object>

This only applies to Flash AFAIK.

Problem

I have a site I made that I am streaming video on, its starting to look pretty cool but the menu I made in CSS is always under the video so some of the links dissappear behind the object. Does anyone know if I can fix this, I think I tried z-index one time to no avail? I just reposted this question since this is also my problem.

Original source