I'm working on this website: http://www.oklahomainsightstv.com/ and I'm trying to get the navigation drop down to show up ON TOP of the video object. I've tried a few versions of z-index in the CSS but nothing has worked.
This is my code:
<div id="hero" style="z-index:-1; position:relative;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="266" id="viddler_e3f5a526"><param name="movie" value="http://www.viddler.com/simple/e3f5a526/" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/simple/e3f5a526/" width="437" height="266" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler_e3f5a526"></embed></object>
</div>
Its a browser bug !
Flash, iframes are visible above the menu. Place video object far from the menu.
Without testing it myself, a quick search revealed that there are two things you might not be doing:
Add the wmode parameter to your video object and use the value "transparent": <param name="wmode" value="transparent" />
Make sure you specify the position:relative; style to the menu with the z-order. Otherwise, the z-order won't be applied.
If that doesn't work, you may have encountered a limitation of a given browser, in which case, you may have to design the site so that plugins don't have the opportunity to overlap.
Sources
Related
I have an embedded flash object in a Drupal-block, something like this:
<object classid="xxxxxx" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="320" width="160"><param name="quality" value="high" /><param name="movie" value="/sites/default/files/flash/xxxxxxx.swf" /><embed height="320" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="/sites/default/files/flash/xxxxxxx.swf" type="application/x-shockwave-flash" width="160"></embed></object>
A few days ago it disappeared misteriously. After some browsing in Firebug, I found out that it's nost likely caused by the following CSS-declaration:
img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed, embed:-moz-suppressed, applet:-moz-suppressed {
display: none !important;
visibility: hidden !important;
}
It's coming from (as far as I understand) the default css of Firefox. I tried to set the "object" and "embed" tags visible but this declaration always override it.
My questions are: Why is this default CSS-declaration come into effect now? It's not the first flash object I have embedded and they were visible so far. And how can I override it?
Thanks in advance!
I have embedded a flash banner on my wordpress site, by editing the header.php file. The banner itself has been hardcoded with the link, but once its on my website it is not clickable in Chrome (FF and IE work fine).
I then added another banner using the same code (except for the file name), which works on all browsers (the second banner was added using a widget).
Any ideas?
Thanks.
Y.
The banner can be found above the header, here: http://wordsandmusic.me
This is the code I am using:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="728" HEIGHT="90" id="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" ALIGN="Middle">
<PARAM NAME=movie VALUE="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=AllowScriptAccess VALUE="always"> <PARAM NAME=bgcolor VALUE=#333399> <EMBED src="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" quality=high bgcolor=#333399 WIDTH="728" HEIGHT="90" NAME="http://wordsandmusic.me/wp-content/uploads/Flash Banners/banner_02.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" AllowScriptAccess="always"></EMBED> </OBJECT>
You should try to delete this:
<div class="background-cover"></div>
Or at least modify the rules for that class. What are you using that div for?
Add the following css code to the <div> which contains the flash object:
<div style="text-align:center;position:relative;z-index:1;">
<object>Flash object will come here</object>
</div>
I have added inline css in the above code.
i have a flash file which i need to display in a aspx file . the width and height of the fla file is 500 and 600px . but i need to show it in 300 and 300 px. i set the width and height in aspx file. but the flash file not coming in proper. some part of the fla file got hiden. i need to display the flash file fully but in small size .
<div style="Height:300px; width:300px">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="105%">
<param name="movie" value="events.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent"/>
<embed src="events.swf"
quality="high"
type="application/x-shockwave-flash"
wmode="transparent"
width="100%"
height="105%"
top="100px"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowScriptAccess="always" />
</object></div>
The problem you describe has to do with how the FLA is constructed and embedded, little has to do with ASP.NET as it is a server-side technology. To achieve such, the "scale" of the Flash would need to be set as showAll, you may achieve so by adding scale="showAll" in the EMBED tag and <param name="scale" value="showAll" /> in the OBJECT tag.
However, it is possible that your Flash movie may overwrite the value scale value to "noScale". This is done by setting the scaleMode of Stage to noScale or other undesired values. You would need to go through the sources of your Flash movie to remove that overwrite. If the source of the movie is a Flex application, by default a Flex application's scaleMode is noScale
I'm managing this site: (no joke)
http://www.orgasmatrix.fr/webcams
As you can see, when you put your mouse over "Categories" the menu appears below the iframe called "chat_".
I have search about it. I have read and test with "position:absolute" and "z-index:-999", but no way.
I have found another tip with the iframe embenbed and try to put "?wmode=transparent" or "?wmode=opaque" as a parameter.
Also I have tested with , and also with the atributte allowtransparency="true". But no way, the iframe always appear above the "Categories" menu.
Any help?
I'll be very grateful.
The problem isn't with your code, but deeper - in very nested iframe (I have counted 3) with that chat element:
<object type="application/x-shockwave-flash" data="http://img.media-rendering2.com/market2/livecams/chat_coquin/chat_v2.swf" wmode="transparent" width="300" height="405" id="chatCoquinTac" style="visibility: visible; "><param name="menu" value="false"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"><param name="flashvars" value="url_acces=&url_image=http%3A%2F%2Fimg.media-rendering2.com%2Fmarket2%2Flivecams%2Fchat_coquin%2F&sexe=h&langue=fr&webcam=7&pseudo=Julia&ville=Warsaw&format=2&temps=1338679111"></object>
As you can see I have added (with developer tools) <param name="wmode" value="transparent"> and wmode="transparent" to <object> and it worked as it should (Chrome 19) - your categories menu appears above chat window.
I've tried using wmode transparent codes on my SWF slideshow but the menus still seem to appear behind the Flash in IE8 and Firefox 3.5... In IE7 it works although the looks of the menus aren't as good.
Here's the Flash code:
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','524','height','313','title','LoveRugs','src','http://www.love-rugs.com/Slideshows/Love-Rugs-Slide','quality','high','loop','false','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','http://www.love-rugs.com/Slideshows/Love-Rugs-Slide' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="524" height="313" title="LoveRugs"><param value="transparent" name="wmode"/>
<param name="movie" value="http://www.love-rugs.com/Slideshows/Love-Rugs-Slide.swf" />
<param name="quality" value="high" />
</object>
<embed src="http://www.love-rugs.com/Slideshows/Love-Rugs-Slide.swf" wmode="transparent" quality="high" loop="false" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="524" height="313"></embed>
</noscript>
Can anyone see what's going wrong?
Wrap the flash object in a DIV and give it a z-index that is lower than the item you want to be on top of it.