User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: 1. Run attached main.js in Add-on Builder 2. It tries to show YouTube video in panel Actual results: YouTube video does not play. Not only flash videos but any flash element does not work. Expected results: Flash video must play.
I'd guess this has something to do with click-to-play?
i can confirm this bug, and that it's *not* related to click-to-play, nor hardware acceleration, and that it manifests in both pre-australis and australis branches, and both on osx and windows. also, youtube player makes it a bit harder to understand what is happening. use this url instead for the panel contentURL to get a better feeling: http://www.smartwebby.com/Flash/flash_animations.asp it looks like a platform bug, because the plugin window seems to be attached to (a child of) the parent browser window, and not the panel window (try resizing the browser window to be smaller than the panel).
Status: UNCONFIRMED → NEW
Ever confirmed: true
this should probably be escalated to the platform team, but i don't know who to ping. Wes, can you please find the right person?
Summary: Flash in Addon Builder Panel has bugs → Flash object inside sdk/Panel content is created as a child the browser window
Dave, Gabor, do either of you know who to talk to about this? Is this at all related to bug 768651? (Doubt it since Builder probably doesn't use cfx)
Probably I should take a look at this, but right now I'm quite flooded... The person who knows the most about all this is probably Benjamin Smedberg but I expect him to be even more flooded. Anyway let's see if he has any thoughts/ideas about what might be going here, Comment 2 is a great description I think to start from. I'm kind of afraid that the problem is that plugins need/expect a browser window, and since the panel is not a browser window, it tries to go up on the chain and finds the window the panel is attached to and uses that one. And then ofc not getting the right events from the browser window since it's not focused but the panel is. Or, panel is using the browser window to create the plugin instance, and that's why does it belong to that window.
Is this windowed or windowless Flash? If you don't know, try adding wmode="opaque" to your <object> to see whether that fixes the problem. Widget parenting for windowed-mode plugins is fragile in general.
Waiting to see if that solves the problem
Flags: needinfo?(dtownsend+bugmail) → needinfo?(sankiromero)
Dave sorry but I do not have control over YouTube videos so I can not change wmode. If you have suggestion let me know. Also would not it be better Firefox detect and switch accordingly to wmode="opaque" when needed in Panels?
Any progress on this please? It is really critical for my projects. @Benjamin, I tested all possible wmode values, none helped. http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html#main_Browser_support_for_Window_Mode__wmode__values It can be also tested by simply changing wmode URL parameter: http://www.youtube.com/embed/0Z9rP7CBs_Y?wmode=opaque http://www.youtube.com/embed/0Z9rP7CBs_Y?wmode=transparent http://www.youtube.com/embed/0Z9rP7CBs_Y?wmode=direct http://www.youtube.com/embed/0Z9rP7CBs_Y?wmode=window http://www.youtube.com/embed/0Z9rP7CBs_Y?wmode=gpu I think something preventing clicks to enter Flash area in Panels.
There is no progress on this problem, nobody is assigned to look at it, and as far as I know it's not a high priority.
Firefox Team C'om ...
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.