increase the contrast between the modal with the firefox hint for request for media and the rest of the UI
This commit is contained in:
parent
a1fdf5bba8
commit
e17c212cfb
@ -459,11 +459,15 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
private function handleWebRTCMediaRequestEvent(event:WebRTCMediaEvent):void {
|
||||
var browser:String = ExternalInterface.call("determineBrowser")[0];
|
||||
if (browser == "Firefox") {
|
||||
var ffBrowser:FirefoxMicPermissionImage = PopUpManager.createPopUp(mdiCanvas, FirefoxMicPermissionImage, true) as FirefoxMicPermissionImage;
|
||||
var ffBrowser:FirefoxMicPermissionImage = new FirefoxMicPermissionImage();
|
||||
// we want to increase the contrast between the modal and the rest of the UI
|
||||
ffBrowser.setStyle("modalTransparency", 0.75);
|
||||
ffBrowser.setStyle("modalTransparencyColor", 0x000000);
|
||||
ffBrowser.addEventListener(FlexEvent.CREATION_COMPLETE, function(e:Event):void {
|
||||
ffBrowser.x = 54;
|
||||
ffBrowser.y = 0;
|
||||
});
|
||||
PopUpManager.addPopUp(ffBrowser, mdiCanvas, true);
|
||||
} else if (browser == "Chrome") {
|
||||
var chromeBrowser:ChromeMicPermissionImage = PopUpManager.createPopUp(mdiCanvas, ChromeMicPermissionImage, true) as ChromeMicPermissionImage;
|
||||
chromeBrowser.addEventListener(FlexEvent.CREATION_COMPLETE, function(e:Event):void {
|
||||
|
Loading…
Reference in New Issue
Block a user