Click to See Complete Forum and Search --> : spry menu needs to open on top of video, not under


NikkiD
11-19-2010, 10:14 AM
Hello,

I just inserted a Youtube video on this page of our website: http://www.flagsexpress.com/shell/teardrop_flags.html

The problem is, when you roll over the blue spry menu on the left hand side of the page (for example, roll over "Specialty Flags & Banners") the menu drops down but it is partially blocked by the video. How do I bring the menu forward and put the video to the back?

Thanks in advance for any help!

Nikki

Eye for Video
11-19-2010, 11:54 AM
You need to use a wmode in the params code used to play the video on the page:
Window Mode (wmode) - What's It For?
There are three window modes.
Window
Opaque
Transparent
By default, the Flash Player gets its own hWnd in Windows. This means that the Flash movie actually exists in a display instance within Windows that lives above the core browser display window. So though it appears to be in the browser window, technically, it isn't. It is most efficient for Flash to draw this way and this is the fastest, most efficient rendering mode. However, it is drawing independently of the browser's HTML rendering surface. This is why this default mode (which is equivalent to wmode="window") doesn't allow proper compositing with DHTML layers. This is why your JavaScripted drop-down menus will drop behind your Flash movie.
In windowless modes (like opaque), Flash Player doesn't have a hWnd. This means that the browser tells the Flash Player when and where to draw onto the browser's own rendering surface. The Flash movie is no longer being rendered on a higher level if you will. It's right there in the page with the rest of the page elements. The Flash buffer is simply drawn into whatever rectangle the browser says, with any Flash stage space not occupied by objects receiving the movie's background color.
so add:
<param name="wmode" value="transparent"/>
as an <object> param and:
wmode="transparent"
to the <embed>
Best wishes,
Eye for Video
www.cidigitalmedia.com

NikkiD
11-19-2010, 11:58 AM
Thank you so much. I will try that shortly.
What I love about this forum is that not only do people tell you how to solve the problem, but the actually explain why it works, too. I really really appreciate that.

noahqw
12-08-2010, 04:35 PM
Well, when I visited your website, via to FireFox, everything worked fine. The video wasn't blocking the spry menu. Maybe it's just your browser processing the spry menu. What browser are you currently using?