Drupal 5.10- IE 6

my nice menus pop up behind a Youtube video that appears on a CCK page (result of and Embedded Media Field).
can this be fixed with z-index? And on that note can the div/tag of the offending embed field and the li tag of the nice menu item have to be in some sort of similar heirchy?

Comments

add1sun’s picture

Status: Active » Closed (works as designed)

In the FAQ it notes that you can't do much about flash players.

Glowingtree’s picture

wow, that really sucks.. has anyone tried anything to get around this?

Glowingtree’s picture

Title: nice menus pop-up behind embedded Video content in IE6 » nice menus pop-up behind embedded flash content in IE6 - SOLUTION FOUND!

FIXED! There is no change you can make to Nice menus or CSS to fix this. I went into the youtube.inc file in the
sub folder within Embedded Media Field module (/contrib/video_cck/providers) and added the line
<param name=\"wmode\" value=\"transparent\"></object>"; inside the section that looks like this

$output .= "<object type=\"application/x-shockwave-flash\" height=\"$height\" width=\"$width\" data=\"http://www.youtube.com/v/$embed\" id=\"VideoPlayback\"><param name=\"movie\" value=\"http://www.youtube.com/v/$embed\"><param name=\"allowScriptAcess\" value=\"sameDomain\"><param name=\"quality\" value=\"best\"><param name=\"bgcolor\" value=\"#FFFFFF\"><param name=\"scale\" value=\"noScale\"><param name=\"salign\" value=\"TL\"><param name=\"FlashVars\" value=\"playerMode=embedded\" />
  }
  return $output; 

This just outputs the regular flash object tags/options (note the canceled out " symbols)

encho’s picture

That helped a lot. I had problem with flash banner that I was able to fix now.

sziggle’s picture

wow, this seems to be a pretty general fix for embedded flash content. i used it with a totally different embedding method for the blip.tv player and it fixed the same problem for me.

blip.tv embedding code before (nice menus under the video on IE6):

<embed type="application/x-shockwave-flash" width="640" height="390" src="http://blip.tv/play/blablabla" allowscriptaccess="always" allowfullscreen="true"></embed>

blip.tv embedding code after (nice menus on top of the video on IE6):

<embed type="application/x-shockwave-flash" width="640" height="390" src="http://blip.tv/play/blablabla" wmode="transparent" allowscriptaccess="always" allowfullscreen="true"></embed>

thanks for the fix!