Closed
Bug 592514
Opened 15 years ago
Closed 15 years ago
When embedding flash content with JavaScript Firefox 3.6.8 adds it's own wmode parameter = "opaque" making it impossible to set your own = "transparent"
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: jfeldman, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
I want to set wmode="transparent", but for some reason when using a JavaScript based embed method Firefox adds it's own wmode="opaque" which overrides the one I set. Also if I don't set a wmode it adds one for me. I have verified swfobject is not adding it because I have looked through their code. And this does not happen in previous version of Firefox with same swfobject code.
Reproducible: Always
Steps to Reproduce:
1. Set wmode to transparent.
2. Inspect the code with firebug and see that there are 2 wmode params, one which you've set the other which is being added by Firefox.
Actual Results:
Two wmode parameters are in the code, the "transparent" one we want and the "opaque" one we don't want. This makes it impossible to have a transparent swf. SWF is not transparent.
Expected Results:
SWF would be transparent.
| Reporter | ||
Comment 1•15 years ago
|
||
Also to note, my Flash Player version is 10.1. I have tested it with both the Flash Player 10.1 and the Flash Player Debug 10.1.
| Reporter | ||
Comment 2•15 years ago
|
||
More specifically Flash Player MAC 10,1,82,76
Updated•15 years ago
|
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Comment 3•15 years ago
|
||
The DOM has wmode="transparent". When you say "Firefox adds", what exactly do you mean?
How do you insert the objects into the DOM? If you insert the <object> first and later add the <param> elements, its likely that we'll create the Flash object *before* you've added the <param>s, and they won't have any effect (because they are only used when you create the <object>).
I'd love to have a self-contained testcase rather than something that relies on swfobject.
| Reporter | ||
Comment 4•15 years ago
|
||
It seems that any time I use JavaScript to try and write into the DOM Firefox is adding a wmode parameter of opaque for some reason. I did a test not using swfobject but just writing to the html property of a DIV and sure enough the extra param is getting added in. It's really annoying. I am posting this example to the test link now.
| Reporter | ||
Comment 5•15 years ago
|
||
Okay it is uploaded to http://joshuafeldman.info/public/wmode-example/ it's the third example. Also my current firefox version is 3.6.9
| Reporter | ||
Comment 6•15 years ago
|
||
On an additional note, I have tested this on other machines and I am starting to think that it might have something to do with something on my machine or a possible configuration because it is not a consistent problem.
Comment 7•15 years ago
|
||
Joshua, do you see the wmode weirdness on your machine in safe mode? Do you have any extensions installed?
| Reporter | ||
Comment 8•15 years ago
|
||
PURE BRILLIANCE! No idea why, but I was using the beta version of Glass. Once I disabled that everything seems to work perfectly. Not sure why their application is modifying the DOM...
Anyways feel free to close and remove this bug. If you would like to make their developers aware of this issue I will leave my example page up for a while.
Thanks
Comment 9•15 years ago
|
||
Joshua, thanks for checking that!
Can you link me to this "Glass" thing, whatever it is? Where did you get it?
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 10•15 years ago
|
||
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•