views:

21

answers:

0

Hello, I have a webpage with prettyPhoto and a youtube video inside the web page. With jquery I do:

    $("#youtubevideo embed").attr("wmode", "opaque"); 
also tried $("#youtubevideo embed").attr("wmode", "transparent"); 

In firefox image is over the youtube video, but the corners of pretty photo are missing. Not really missing because if I scroll up ad down they are shown. But still they don't appear correctly. In Chrome video is still on top of the images :( Is there a way to fix this? Thanks