English  Italiano  Français  Español  Dansk  Deutsch  Deutsch  Português  Suomi 
Video Lightbox

Jquery lightbox video player opens behind flash slideshow

Sep 07, 2012

Q: I have a Video Light Box popup which works fine with Chrome but does not popup properly in front of a Flash movie in IE9. I have tried changing the wmode and the z-index for the overlays but nothing seems to work.
I would appreciate a solution as quickly as possible.

A: You should add the following parameters for flash objects:

<PARAM NAME=wmode VALUE=opaque> and WMODE="opaque" for <EMBED>


It allows to overlap a flash movie by other layers.

For example:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="120" HEIGHT="40">
      <PARAM NAME=movie VALUE="samples/slideshow.swf">
      <PARAM NAME=quality VALUE=best>
      <PARAM NAME=bgcolor VALUE=#FFFFFF>
      <param name="wmode" value="opaque">
      <EMBED src="samples/slideshow.swf" quality=best wmode="opaque"  bgcolor=#FFFFFF WIDTH="120" HEIGHT="40" NAME="samples/slideshow" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
      </EMBED>
  </OBJECT>

Related