Closed Bug 824889 Opened 12 years ago Closed 3 years ago

Flash Inconsistencies in Panel Tag

Categories

(Core Graveyard :: Plug-ins, defect, P4)

17 Branch
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: barisderin, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

6.47 KB, application/octet-stream
Details
6.53 KB, application/octet-stream
Details
Attached file demo.xpi
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232

Steps to reproduce:

Loaded a flash example in Panel tag of a Toolbar Button


Actual results:

Flash can not be clicked in Panel


Expected results:

Flash should be clicked in Panel and played as expected
You can install attached XPI and add the blue Toolbar Button in the navigation toolbar.

When you click on the Toolbar Button, the panel will open up. Wait for a few seconds to load the Youtube flash player.

After it loads, you can not click on the flash player to play the video.

This is especially preventing the extensibility of Firefox for Firefox add-ons which tries to facilitate flash containing web sites in panel tags. While Google Chrome can play flash in panel, Firefox should also have support flash in popup manager.
Confirmed using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121227 Firefox/20.0 ID:20121227030822.

with plugins.click_to_play;false I get a black Window
with plugins.click_to_play;true I get a non-clickable Click-to-Play Overlay

In both Cases the Firefox/Flash Plugin Wrapper is running.

FWIW, with HTML5 enabled Youtube (https://www.youtube.com/html5) the Panel Content works.
Component: Untriaged → Plug-ins
Keywords: testcase
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
David, John, could this be some issue with how the XBL is set up?
Status: UNCONFIRMED → NEW
Ever confirmed: true
This seems like 834918 - using a plugin in Chrome content.
You should be able to get the plugin working by using:
> obj.QueryInterface(Components.interfaces.nsIObjectLoadingContent).playPlugin()
Does that resolve your issue?

Note that on current Nightlies you may need to set Flash to "Ask to activate" in Tools -> Addons -> Plugins.
Flags: needinfo?(barisderin)
Attached file Demo 1.1
Demo 1.1 includes Flash tag in Add-on Bar
Let me explain again. I want to place Flash Video inside Toolbar Button pop-up, which is Panel tag in other words. To do that in security context, I need Iframe because web Flash embed tags can not be placed right inside Firefox Chrome UI for security reasons. So I refer to YouTube embed page with a Iframe tag whose context is set to 'content'. And I place that very Iframe inside the Panel tag of the Toolbar button.

Theoretically, when I click the Toolbar Button handle, the pop-up should open and Flash Video should be click-able and playable. But instead the plugin is not click-able (for Mac) or does not activate itself (for Windows).

I think this is about popup system of Firefox. Because I placed the same web iframe, which includes YouTube Flash embed tag, into the Add-on Bar of Firefox and it works properly. I uploaded new version of the Demo add-on, v1.1. After install, make sure Add-on Bar of Firefox is viewable. Clicking Flash embed tag which reside in Add-on Bar plays the flash video.

So, it seems this is not about C2P but something about the webview for the ones which are placed in Toolbar Button pop-ups.
Flags: needinfo?(barisderin)
Not clickable on Mac sounds like a possible focus issue.
What exactly do you mean with "does not activate itself" on Windows?
No longer blocks: click-to-play
Priority: -- → P4
Did you install and try Demo 1.1.xpi for Mac and Windows?

On Mac, flash video player is ready in the pop-up but because it can not be clicked, video can not be started and played.

On Windows, the pop-up is empty, flash player does not get ready somehow.
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: