0

I am using a lightbox created by FancyBox. It opens a youtube video and it works fine. In google chrome, I did notice that the close button is going behind the video. I messed with the z-index and its not working properly in google chrome. I messed with it in firefox and it works just fine. The positions are set and everything. Any ideas?

Here is the website: http://theadamgrp.com/test/hcsmu/ Click on the "Click here to watch his testimonial" next to a thumbnail picture on your right.

Thanks for any help!

Alex Kittavong
  • 193
  • 1
  • 2
  • 13

2 Answers2

1

I can see the problem as described in chromium 17 / ubuntu.

Adding the following to the YouTube iframe's URL fixes it for me:

&wmode=transparent

YouTube passes the wmode URL parameter into the SWF object. Adobe has more information on Flash's wmode property.

Dagg Nabbit
  • 68,162
  • 17
  • 100
  • 136
1

Make sure that you are using position:relative/abosulte/etc... for the positioned DIV, or the z-index will not matter.

Dustin Wilson
  • 1,634
  • 1
  • 12
  • 18