Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Notification/Permission Bar - Detect if visible

Chrome displays the following notification bar when flash requests access to the camera or microphone...

Chrome notification bar

Is there any JavaScript or AS3 way to be detect if this is/isn't visible?

like image 270
Drahcir Avatar asked Jul 12 '13 11:07

Drahcir


1 Answers

I know it's been a long time since you asked, but we finally found a workaround that I would like to share, the ActionScript Camera has a public property called currentFPS which while the permission is pending will be constant and set to 0(zero). We use that property to decide either or not we should display a user notification.

like image 133
Danilo Cabello Avatar answered Oct 03 '22 01:10

Danilo Cabello