You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Maxim Solodovnik <so...@gmail.com> on 2016/01/13 12:43:11 UTC

Ubuntu FF Camera&Mic permissions dialog

Hello All,

Today I find out "Camera&Mic permissions dialog" is not being displayed in
FF under Ubuntu (works in FF for MacOS X, and in Chrome)

Maybe someone know how this can be fixed/workarounded?
Thanks in advance for any hint

-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Alex,

Unfortunately [1] is not the same issue :(
Authors are using wmode=transparent, no such hacks are required with
wmode=transparent|opaque
I'm currently using wmode=direct, jquery-ui dialog is displayed as
expected, BUT to display modal dialog additional veil need to be displayed.
This veil by default has opacity=.8 and not being displayed at all
(Ubuntu+FF only)
if opacity is changed to be == 1 veil is displayed as expected

I tried to add iframe behind the veil -> no luck
I tried to add "dummy" <embed> element -> same effect as with opacity == 1.

It seems the only option for me is to implement "ugly" solution: use
wmode=direct, in case Linux+FF detected change veil opacity to be == 1

Thanks for help :)


On Tue, Jan 19, 2016 at 12:15 PM, Alex Harui <ah...@adobe.com> wrote:

>
>
> On 1/18/16, 10:05 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>
> >displaying 2 swfs is not an option unfortunately :(
> >each of them will ask for separate permissions :(
> >
> >It seems jquery-ui dialog might work with swf in FF under Ubuntu as
> >expected, the current issue I see: div is displayed on top of swf only if
> >it's opacity >= .99, is there any workaround for this? (Chrome works as
> >expected)
>
> Is this the same issue? [1]
>
> HTH,
> -Alex
>
> [1]
> http://blog.marcoos.com/2006/07/21/html-div-above-a-flash-animation-on-linu
> x-its-possible/
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Alex Harui <ah...@adobe.com>.

On 1/18/16, 10:05 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:

>displaying 2 swfs is not an option unfortunately :(
>each of them will ask for separate permissions :(
>
>It seems jquery-ui dialog might work with swf in FF under Ubuntu as
>expected, the current issue I see: div is displayed on top of swf only if
>it's opacity >= .99, is there any workaround for this? (Chrome works as
>expected)

Is this the same issue? [1]

HTH,
-Alex

[1] 
http://blog.marcoos.com/2006/07/21/html-div-above-a-flash-animation-on-linu
x-its-possible/


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
displaying 2 swfs is not an option unfortunately :(
each of them will ask for separate permissions :(

It seems jquery-ui dialog might work with swf in FF under Ubuntu as
expected, the current issue I see: div is displayed on top of swf only if
it's opacity >= .99, is there any workaround for this? (Chrome works as
expected)

On Sat, Jan 16, 2016 at 1:13 PM, Alex Harui <ah...@adobe.com> wrote:

>
>
> On 1/15/16, 10:41 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>
> >I tried the following:
> >
> >I open up jquery-ui dialog with another swf file asking for the
> >permissions, then close it
> >Unfortunately granted permissions were not "in effect", main application
> >later asks for the permissions :(
> >Maybe this need to be done somehow different?
>
> Well, the workaround I saw said you have folks use "Global Settings" to
> allow a domain to use camera and mic.  I'm not sure a single SWF can give
> permission to another SWF.
>
> There might be a workaround where you load the SWF with wmode=window in
> one part of the HTML page and with wmode=transparent/opaque in another
> part of the page and use ExternalInterface and JS to control which SWF
> gets seen and use the wmode=window to get permissions.
>
> -Alex
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Alex Harui <ah...@adobe.com>.

On 1/15/16, 10:41 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:

>I tried the following:
>
>I open up jquery-ui dialog with another swf file asking for the
>permissions, then close it
>Unfortunately granted permissions were not "in effect", main application
>later asks for the permissions :(
>Maybe this need to be done somehow different?

Well, the workaround I saw said you have folks use "Global Settings" to
allow a domain to use camera and mic.  I'm not sure a single SWF can give
permission to another SWF.

There might be a workaround where you load the SWF with wmode=window in
one part of the HTML page and with wmode=transparent/opaque in another
part of the page and use ExternalInterface and JS to control which SWF
gets seen and use the wmode=window to get permissions.

-Alex


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
I tried the following:

I open up jquery-ui dialog with another swf file asking for the
permissions, then close it
Unfortunately granted permissions were not "in effect", main application
later asks for the permissions :(
Maybe this need to be done somehow different?

On Sat, Jan 16, 2016 at 12:36 PM, Alex Harui <ah...@adobe.com> wrote:

>
>
> On 1/15/16, 10:01 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>
> >I'm observing it in both Ubuntu 14.04.3 and Ubuntu 15.10
> >On 15.10 Flash Player version is "You have version 11,2,202,559 installed"
> >I can set up simple web page demonstrating it (but need some time ....)
>
> Well, I don't have a Linux machine, so I'm not sure a demo page will help.
>  From searching the internet, it sounds like Flash and
> wmode=transparent/opaque on Linux is a known issue.
>
> I saw in some searches that folks recommended having folks use some other
> web page to bring up the settings dialog and always grant permission so
> that when your actual app runs, the permission dialog won't need to be
> displayed and interacted with.  Is that a possibility for you?
>
> -Alex
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Alex Harui <ah...@adobe.com>.

On 1/15/16, 10:01 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:

>I'm observing it in both Ubuntu 14.04.3 and Ubuntu 15.10
>On 15.10 Flash Player version is "You have version 11,2,202,559 installed"
>I can set up simple web page demonstrating it (but need some time ....)

Well, I don't have a Linux machine, so I'm not sure a demo page will help.
 From searching the internet, it sounds like Flash and
wmode=transparent/opaque on Linux is a known issue.

I saw in some searches that folks recommended having folks use some other
web page to bring up the settings dialog and always grant permission so
that when your actual app runs, the permission dialog won't need to be
displayed and interacted with.  Is that a possibility for you?

-Alex


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
I'm observing it in both Ubuntu 14.04.3 and Ubuntu 15.10
On 15.10 Flash Player version is "You have version 11,2,202,559 installed"
I can set up simple web page demonstrating it (but need some time ....)

On Sat, Jan 16, 2016 at 11:57 AM, Alex Harui <ah...@adobe.com> wrote:

> Maxim,
>
> What player version are you using?  Isn't Linux stuck on an old version or
> are you running in a Windows-emulation?
>
> -Alex
>
> On 1/15/16, 9:53 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:
>
> >Hello Alex,
> >
> >no this is not the same issue, unfortunately :(
> >
> >reported issue is reproducible in wmmode=window|direct: user can see
> >"permissions" dialog, but can't click it
> >This issue is reproducible in wmmode=transparent|opaque: user can't see
> >"permissions" dialog so he/she have no ability to do anything
> >
> >ugly thing: it is reproducible on Linux+FF only (tested using
> >Debian/Ubuntu)
> >
> >I'm currently trying to workaround it somehow, but I believe Flash Player
> >need to be fixed, I also wonder why I have no option to ask user :( (
> >Security.showSettings is finally invisible)
> >
> >On Fri, Jan 15, 2016 at 11:05 PM, Alex Harui <ah...@adobe.com> wrote:
> >
> >> Is this the same issue as this?
> >>
> >>
> http://askubuntu.com/questions/370142/cant-click-allow-or-deny-or-even-cl
> >>os
> >> e-on-the-flash-is-requesting-permiss
> >>
> >> -Alex
> >>
> >> On 1/15/16, 12:31 AM, "Tom Chiverton" <tc...@extravision.com> wrote:
> >>
> >> >Can you change wmode (e.g. from JavaScript) ? I suspect not as it's too
> >> >late by the time Flash has started.
> >> >
> >> >Could you move the dialogue into the app and just read/write to the
> >> >surrounding page ?
> >> >
> >> >Tom
> >> >
> >> >On 15/01/16 06:51, Maxim Solodovnik wrote:
> >> >> Any additional ideas are highly appreciated
> >> >
> >>
> >>
> >
> >
> >--
> >WBR
> >Maxim aka solomax
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Alex Harui <ah...@adobe.com>.
Maxim,

What player version are you using?  Isn't Linux stuck on an old version or
are you running in a Windows-emulation?

-Alex

On 1/15/16, 9:53 PM, "Maxim Solodovnik" <so...@gmail.com> wrote:

>Hello Alex,
>
>no this is not the same issue, unfortunately :(
>
>reported issue is reproducible in wmmode=window|direct: user can see
>"permissions" dialog, but can't click it
>This issue is reproducible in wmmode=transparent|opaque: user can't see
>"permissions" dialog so he/she have no ability to do anything
>
>ugly thing: it is reproducible on Linux+FF only (tested using
>Debian/Ubuntu)
>
>I'm currently trying to workaround it somehow, but I believe Flash Player
>need to be fixed, I also wonder why I have no option to ask user :( (
>Security.showSettings is finally invisible)
>
>On Fri, Jan 15, 2016 at 11:05 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> Is this the same issue as this?
>> 
>>http://askubuntu.com/questions/370142/cant-click-allow-or-deny-or-even-cl
>>os
>> e-on-the-flash-is-requesting-permiss
>>
>> -Alex
>>
>> On 1/15/16, 12:31 AM, "Tom Chiverton" <tc...@extravision.com> wrote:
>>
>> >Can you change wmode (e.g. from JavaScript) ? I suspect not as it's too
>> >late by the time Flash has started.
>> >
>> >Could you move the dialogue into the app and just read/write to the
>> >surrounding page ?
>> >
>> >Tom
>> >
>> >On 15/01/16 06:51, Maxim Solodovnik wrote:
>> >> Any additional ideas are highly appreciated
>> >
>>
>>
>
>
>-- 
>WBR
>Maxim aka solomax


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Alex,

no this is not the same issue, unfortunately :(

reported issue is reproducible in wmmode=window|direct: user can see
"permissions" dialog, but can't click it
This issue is reproducible in wmmode=transparent|opaque: user can't see
"permissions" dialog so he/she have no ability to do anything

ugly thing: it is reproducible on Linux+FF only (tested using Debian/Ubuntu)

I'm currently trying to workaround it somehow, but I believe Flash Player
need to be fixed, I also wonder why I have no option to ask user :( (
Security.showSettings is finally invisible)

On Fri, Jan 15, 2016 at 11:05 PM, Alex Harui <ah...@adobe.com> wrote:

> Is this the same issue as this?
> http://askubuntu.com/questions/370142/cant-click-allow-or-deny-or-even-clos
> e-on-the-flash-is-requesting-permiss
>
> -Alex
>
> On 1/15/16, 12:31 AM, "Tom Chiverton" <tc...@extravision.com> wrote:
>
> >Can you change wmode (e.g. from JavaScript) ? I suspect not as it's too
> >late by the time Flash has started.
> >
> >Could you move the dialogue into the app and just read/write to the
> >surrounding page ?
> >
> >Tom
> >
> >On 15/01/16 06:51, Maxim Solodovnik wrote:
> >> Any additional ideas are highly appreciated
> >
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Alex Harui <ah...@adobe.com>.
Is this the same issue as this?
http://askubuntu.com/questions/370142/cant-click-allow-or-deny-or-even-clos
e-on-the-flash-is-requesting-permiss

-Alex

On 1/15/16, 12:31 AM, "Tom Chiverton" <tc...@extravision.com> wrote:

>Can you change wmode (e.g. from JavaScript) ? I suspect not as it's too
>late by the time Flash has started.
>
>Could you move the dialogue into the app and just read/write to the
>surrounding page ?
>
>Tom
>
>On 15/01/16 06:51, Maxim Solodovnik wrote:
>> Any additional ideas are highly appreciated
>


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Tom Chiverton <tc...@extravision.com>.
Can you change wmode (e.g. from JavaScript) ? I suspect not as it's too 
late by the time Flash has started.

Could you move the dialogue into the app and just read/write to the 
surrounding page ?

Tom

On 15/01/16 06:51, Maxim Solodovnik wrote:
> Any additional ideas are highly appreciated


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
It seems like this approach  "small Flash file that isn't opaque, asks for
the permission, and then hands back to the main app" is not working :(
permissions are being "re-asked" in the main swf :(

I need wmmode opaque/transparent to use jquery-ui dialogs
Any additional ideas are highly appreciated


On Thu, Jan 14, 2016 at 4:01 PM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Thanks for the idea!
> will try to invent something :)
>
> On Thu, Jan 14, 2016 at 3:53 PM, Tom Chiverton <tc...@extravision.com> wrote:
>
>> On 14/01/16 09:39, Maxim Solodovnik wrote:
>>
>>> example of such workaround?
>>>
>>
>> Sorry, no, I've never used it, I was just thinking out loud.
>>
>> Tom
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks for the idea!
will try to invent something :)

On Thu, Jan 14, 2016 at 3:53 PM, Tom Chiverton <tc...@extravision.com> wrote:

> On 14/01/16 09:39, Maxim Solodovnik wrote:
>
>> example of such workaround?
>>
>
> Sorry, no, I've never used it, I was just thinking out loud.
>
> Tom
>



-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Tom Chiverton <tc...@extravision.com>.
On 14/01/16 09:39, Maxim Solodovnik wrote:
> example of such workaround?

Sorry, no, I've never used it, I was just thinking out loud.

Tom

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
I found so much yelling on Adobe forums regarding *nix support .... :(
I'll try to workaround using "small Flash file that isn't opaque, asks for
the permission, and then hands back to the main app", maybe you have
example of such workaround?

On Thu, Jan 14, 2016 at 3:06 PM, Tom Chiverton <tc...@extravision.com> wrote:

> Ah ha.
>
> I do remember seeing this bug in the past with the Flash Player, so maybe
> it's come back.
> Have you contacted Adobe by posting on the Player forums, for instance ?
>
> You could work around it by using a different wmode, or a small Flash file
> that isn't opaque, asks for the permission, and then hands back to the main
> app.
>
> Tom
>
> On 14/01/16 07:24, Maxim Solodovnik wrote:
>
>> Thanks for the answering Tom and sorry for the late response
>>
>> I have tried to find small and simple example with camera and was unable
>> to
>> :(
>> Then I wrote 2-3 line example code and it also works as expected ....
>>
>> I continued my investigations and found the dialog is not displayed since
>> "'wmode='opaque'" is used
>> Is there any chance to "tell" security dialog to show up in this mode?
>>
>>
>> On Wed, Jan 13, 2016 at 7:10 PM, Tom Chiverton <tc...@extravision.com>
>> wrote:
>>
>> On 13/01/16 11:43, Maxim Solodovnik wrote:
>>>
>>> Today I find out "Camera&Mic permissions dialog" is not being displayed
>>>> in
>>>> FF under Ubuntu
>>>>
>>>> I have that combination here.
>>>
>>> Is there a web site that doesn't work for you ?
>>>
>>> Tom
>>>
>>>
>>
>>
>> ______________________________________________________________________
>> This email has been scanned by the Symantec Email Security.cloud service.
>> For more information please visit http://www.symanteccloud.com
>> ______________________________________________________________________
>>
>
>


-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Tom Chiverton <tc...@extravision.com>.
Ah ha.

I do remember seeing this bug in the past with the Flash Player, so 
maybe it's come back.
Have you contacted Adobe by posting on the Player forums, for instance ?

You could work around it by using a different wmode, or a small Flash 
file that isn't opaque, asks for the permission, and then hands back to 
the main app.

Tom

On 14/01/16 07:24, Maxim Solodovnik wrote:
> Thanks for the answering Tom and sorry for the late response
>
> I have tried to find small and simple example with camera and was unable to
> :(
> Then I wrote 2-3 line example code and it also works as expected ....
>
> I continued my investigations and found the dialog is not displayed since
> "'wmode='opaque'" is used
> Is there any chance to "tell" security dialog to show up in this mode?
>
>
> On Wed, Jan 13, 2016 at 7:10 PM, Tom Chiverton <tc...@extravision.com> wrote:
>
>> On 13/01/16 11:43, Maxim Solodovnik wrote:
>>
>>> Today I find out "Camera&Mic permissions dialog" is not being displayed in
>>> FF under Ubuntu
>>>
>> I have that combination here.
>>
>> Is there a web site that doesn't work for you ?
>>
>> Tom
>>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________


Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks for the answering Tom and sorry for the late response

I have tried to find small and simple example with camera and was unable to
:(
Then I wrote 2-3 line example code and it also works as expected ....

I continued my investigations and found the dialog is not displayed since
"'wmode='opaque'" is used
Is there any chance to "tell" security dialog to show up in this mode?


On Wed, Jan 13, 2016 at 7:10 PM, Tom Chiverton <tc...@extravision.com> wrote:

> On 13/01/16 11:43, Maxim Solodovnik wrote:
>
>> Today I find out "Camera&Mic permissions dialog" is not being displayed in
>> FF under Ubuntu
>>
>
> I have that combination here.
>
> Is there a web site that doesn't work for you ?
>
> Tom
>



-- 
WBR
Maxim aka solomax

Re: Ubuntu FF Camera&Mic permissions dialog

Posted by Tom Chiverton <tc...@extravision.com>.
On 13/01/16 11:43, Maxim Solodovnik wrote:
> Today I find out "Camera&Mic permissions dialog" is not being displayed in
> FF under Ubuntu

I have that combination here.

Is there a web site that doesn't work for you ?

Tom