logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 01-04-2012, 06:47 PM   #1
wbuchina
 
Join Date: Nov 2011
Posts: 9
Default Spry hiding behind video?!?

Hi. I have just embedded a youtube video into my site, but now the spry menu is 'hidden', for lack of a better word, behind the video.

http://williambuchina.com/africa/video.html

Any idea how to remedy this problem?

Any help is much appreciated.

Thanks
w
wbuchina is offline   Reply With Quote
Old 01-05-2012, 01:09 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,169
Default

not when i checked its not
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 01-05-2012, 03:37 AM   #3
wbuchina
 
Join Date: Nov 2011
Posts: 9
Default

you're right! I checked it in firefox and safari and it works fine, I usually use chrome and in that, it is doing what I initially said. Any idea why that is? clearly an issue with that browser...anything I can do about it?

by the way, how is Bali? I used to live in Canggu!

Thanks
w
wbuchina is offline   Reply With Quote
Old 01-05-2012, 03:27 PM   #4
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

For chrome you'll need to add ?&wmode=opaque to the end of the youtube url. So with your youtube video you'll get this:
HTML Code:
http://www.youtube.com/embed/FsOlILl2jlc?&wmode=opaque
If you have users that insert youtube vids through a CMS you can use javascript or a javascript framework such as jQuery to add it by manipulating the DOM.
HTML Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
$(document).ready(function() {
    var opaque = '&wmode=opaque';
    $('#videowrapper iframe').attr('src', function(index, attr) {
        return attr + '?' + opaque;
    });
});
</script>
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com