jQuery UI dialog with embedded youtube resource - youtube video floats over the top of the dialog

I have a page that has an embedded youtube resouce.  This page also has a number of popup dialogs that I'm creating with jQuery UI.  The dialogs are draggable so you can move them around the page.  But when you move them over the youtube video, the dialog actually floats under the youtube video.  This is not the functionality I'm looking for.

I've done some searching around and found a few examples that explain to do this...
http://stackoverflow.com/questions/4902045/jquery-ui-dialog-and-youtube

I've tried to do this, but it doesn't seem to be working.  Here is my embedded youtube resource.

 
<div class="public-page-video-container">
            <object width="420" height="315">
                <param name="wmode" value="transparent"></param>
                <param name="movie" value="http://www.youtube-nocookie.com/v/fgg2tpUVbXQ?version=3&amp;hl=en_US&amp;rel=0"></param>
                <param name="allowFullScreen" value="true"></param>
                <param name="allowscriptaccess" value="always"></param>
                <embed src="http://www.youtube-nocookie.com/v/fgg2tpUVbXQ?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed>
            </object>
        </div>

Open in new window


I've also tried to add a z-index of 1000 to the dialogs and z-index of 0 to the div that contains the youtube.  I'm not sure why this isn't working or what else I should try.

Thanks
LVL 7
JosephEricDavisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark StegglesWeb DeveloperCommented:
Have you tried adding wmode=transparent to the embed tag?

Also, did you try adding &wmode=transparent onto the url like the stackoverflow answer suggested?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.