|
#26
Jun 22, 2009, 05:34 AM
|
|
|
14 posts · Jun 2009
amsterdam
|
|
Thank you Flynn and Juggledad. You have made my day to respond so nicely and timely to the problem. Although it is not solved in a easy way at least the workarounds works. Thank you. I still have to try out Flyn's suggestions though.
But i must also say that this behavior of the youtube video is the first time i experienced it. I have other sites running with menu's and the menu floats above the youtube. I dont know about youtube's intentions of wanting to be ontop.
I think the menu in the atahualpa template is fairly complex with so many variables, that somehow or other some settings might not be interpreted the way it reasonably should.
What to do.. The CSS world is littered with broken rules/regulations/platforms/browsers. sigh...
Thanks for the good work.
P.S is there a snail mail address available to send something to you?
|
#27
Jun 22, 2009, 05:56 AM
|
|
|
14 posts · Jun 2009
amsterdam
|
|
I tried to add the code to the file with the WP editor, but i get this strange error :
Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM
I added the code direclty to the functions file with my html editor and that seems to work.
After uploading i checked the floating and it works as it should. I am guessing that this functions runs through the content and replaces the embedding code? So with lots of videos on a page this will impact the performance ?
way to go!
|
#28
Jun 22, 2009, 07:34 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
If you just did a copy/past from the post, it's possible that you copied some 'invisiable' characters and they are causing the problem. Edit the code and change everywhere it sllos line there is a space character, delete it and put in a space. See if that helps.
You can donate to Flynn or myself by pressing the 'Click here to DONATE at the top of th screen.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#29
Jun 22, 2009, 07:50 AM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Sorry I had an error in that code in #post 25, it is fixed now
|
#30
Oct 8, 2009, 02:48 PM
|
|
I am having this issue as well. I am new to WordPress and I was getting it, until this flash problem crept up on me. I am familiar with the WMODE TRANSPARENT parameter, and I copy/pasted Flynn's code into my "functions.php" page.
But the submenu still is behind the flash:
http://www.mysolarwindhome.info
Under "information" there are four links. The Flash slideshow stays on top, if I try "Transparent", or Flynn's code, the flash movie disappears completely.
I have spent 6 hours on this and it's killing me.
Thanks in adv.
Steve
Last edited by escodsm; Oct 8, 2009 at 02:55 PM.
|
#31
Oct 8, 2009, 03:46 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
The flash shows up behind the menudrop down when I look at it - what browser - I viewed it with safari on a mac
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#32
Oct 9, 2009, 09:19 AM
|
|
FF on Vista PC. Also tested in IE7 and 8 on same PC. Drop down will NOT appear over the flash.
I have tried everything I could think of. When I set the WMODE to Transparent the flash element disappears altogether.
Since this flash is actually a WP plugin, and it's a 'post' maybe that will be the key to solving this. I know it is done with WP I have seen other sites.
|
#33
Oct 9, 2009, 09:40 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Wow this is interesting, on the mac with Firefox 3.5.3 it works fine, but on XP with Firefox 3.5.3 it doesn't .
If you go to the information page, is the complete submenu showing?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#34
Oct 9, 2009, 09:55 AM
|
|
Yes it shows, on all pages except the home page which has the flash gallery.
The flash gallery lives in a Wordpress post on the home page. When I change the WMODE the flash gallery disappears. Is there a way to make the post.php or whatever, a lower z-index?
|
#35
Jan 28, 2010, 09:02 PM
|
|
I tried copying your suggestion into the functions.php file, but couldn't get it to work. Should I be copying everything you have in that window? and does it matter where I paste it into the functions.php file? I am new to php, but I am trying to learn.
Quote:
Originally Posted by Flynn
You can put this at the bottom of functions.php, without causing blank lines. It should add the code to all flash inside post or page content
PHP Code:
<?php
add_filter('the_content', 'add_opaque_to_all_flash');
function add_opaque_to_all_flash($string) {
$string = str_ireplace('<embed type="application/x-shockwave-flash"', '<param name="wmode" value="opaque"><embed type="application/x-shockwave-flash" wmode="opaque"', $string);
return $string;
}
?>
|
|
|