Page 1 of 1

youtube video overlapping my prettyphoto

Posted: Sun May 10, 2009 10:19 am
by lebatt
Ok, So I'm using PrettyPhoto in my site, and above that I put a youtube video. Now when I use prettyphoto before it dulls the screen, opens pictures that are scrollable int he middle, BUT now that I have a youtube video on the top of the photo's, The youtube video doesnt dim out but stays on top of everything..

Any idea?

Is there somethign in the youtube embed coding? should I z-index it? if so how? i'm not too familiar with it,

Please and thanks


Also I put IMG position as relative, I put the video to have a class and position Relative, I z-index'ed it. SO i'm thinking i have to z-index prettyphoto???

Basically I have the youtube video on top and then the table of pictures below, but everytime I open them now to which I am using the prettyphoto javascript, the youtube video stays on top and the photo's open below the video.

Re: youtube video overlapping my prettyphoto

Posted: Sun May 10, 2009 11:17 am
by kaszu
Flash goes over html by default, you need to set wmode="transparent" for flash.

Re: youtube video overlapping my prettyphoto

Posted: Sun May 10, 2009 12:48 pm
by lebatt
Thanks very much, Works great, I didnt find that option in any dreamweavers features,