Closed Bug 776264 Opened 12 years ago Closed 11 years ago

Battlelog: does not work with "plugins.click_to_play" set to "true"

Categories

(Core Graveyard :: Plug-ins, defect)

14 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: markus.podar+bugzilla.mozilla.org, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

I log in to http://battlelog.battlefield.com/ with my Origin account and try to join a server.


Actual results:

Battlelog displays this message at the top:

Flash plugin is blocked or disabled
Battlelog requires Flash. Please enable or unblock it.

and when I try to join a server I get:

Download and install the latest Browser Plugin to play the game.

However, this specific plugin is installed and available in Firefox.


Expected results:

Usually (e.g. on youtube) the space of the plug in is visible and there's a visual hint where to click to activate this plugin.

There's nothing like this on Battlelog, i.e. I can't activate Flash for this page when click_to_play is set to true. The only way is to set it to false again.
Does it work with Nightly Firefox 17?
Because many improvements have been done in nightlies about click-to-play.
(In reply to Loic from comment #1)
> Does it work with Nightly Firefox 17?
> Because many improvements have been done in nightlies about click-to-play.

No, I see the same behaviour with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0 .

I think the essence of the problem here is something along this: Battlelog does programmatically check for an enabled Flash plugin in a way there's no directly flash object shown to the user. And I think because of this, there's no "click and play" for me and thus Battlelog simply decides there's no flash available and thus stops working properly.

It seems Flash is required for some kind of communication with the web plugin one has to have installed. And when this communication cannot be established, Battlelog ceases to work.
Component: Untriaged → Flash (Adobe)
Product: Firefox → Plugins
Version: 14 Branch → unspecified
Is your Flash up to date?  You can check here:
http://www.mozilla.org/en-US/plugincheck/
(In reply to Jonah Ho (FireChemist) from comment #3)
> Is your Flash up to date?  You can check here:
> http://www.mozilla.org/en-US/plugincheck/

Yes
Component: Flash (Adobe) → Plug-ins
Product: Plugins → Core
Version: unspecified → 14 Branch
Is this still an issue? 
Do you get the plugin icon in the URL bar on the site?
If so, can you get the site to work when activating it from there?
Flags: needinfo?(markus)
Tested with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 (it's actually 18.0.1; but the UA string doesn't report that).

I still have the same problem. I can't get it to work with plugins.click_to_play set to true.

@Georg: if you wouldn't have mentioned the icon I would never have noticed it. The Battlelog application itself has a HTML/JS detection and tells me that flash needs to be activated/isn't present.

OTOH, I see a blue icon in the left of the address bar, supposedly it's the plugin icon you mentioned. This allows me to activate the "ESN Launch Mozilla" plugin (this is used by Battlelog to launch the real desktop application). However, clicking "activate" does nothing. Reloading the page doesn't change a thing.

Should I file a separate issue?
Flags: needinfo?(markus)
(In reply to Markus Fischer from comment #6)
> OTOH, I see a blue icon in the left of the address bar, supposedly it's the
> plugin icon you mentioned. This allows me to activate the "ESN Launch
> Mozilla" plugin (this is used by Battlelog to launch the real desktop
> application). However, clicking "activate" does nothing. Reloading the page
> doesn't change a thing.

The dropdown also allows you to choose "always activate plugins for this site". If you do that, does the site work for you?
(In reply to Georg Fritzsche [:gfritzsche] from comment #7)
> The dropdown also allows you to choose "always activate plugins for this
> site". If you do that, does the site work for you?

Yes, this works for me.
Unfortunately, some sites are not well-written and are not going to work with click-to-play. In other bugs we are working to make "always for this site" and "reload with plugins enabled" more prominent options so that users can get these sites working. I don't think there's anything else to track in this bug, though, so I'm going to mark it WONTFIX. I recommend that you file a bug/submit a support request with battlelog; they should redesign their site scripting so that CtP works more correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Thanks, we'll investigate
Hello, i have similar problem with this site: http://www.xeno-canto.org/. So only solution is to ask them to fix this issue? Am i right?
Please try the process in comment 5 to 8 to activate the plugin - that should work.
If it doesn't file a new bug.
Thank you, that works. I apologize, i read only last comment... :/
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.