youtube video overlapping my prettyphoto

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
lebatt
Forum Newbie
Posts: 9
Joined: Sat May 02, 2009 6:43 pm

youtube video overlapping my prettyphoto

Post 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.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: youtube video overlapping my prettyphoto

Post by kaszu »

Flash goes over html by default, you need to set wmode="transparent" for flash.
lebatt
Forum Newbie
Posts: 9
Joined: Sat May 02, 2009 6:43 pm

Re: youtube video overlapping my prettyphoto

Post by lebatt »

Thanks very much, Works great, I didnt find that option in any dreamweavers features,
Post Reply