|
|
@ -2009,11 +2009,12 @@ function initVroom(room) { |
|
|
|
// This error usually means you have denied access (old flag way)
|
|
|
|
// This error usually means you have denied access (old flag way)
|
|
|
|
// or you cancelled screen sharing (new extension way)
|
|
|
|
// or you cancelled screen sharing (new extension way)
|
|
|
|
// or you select no window (in Firefox)
|
|
|
|
// or you select no window (in Firefox)
|
|
|
|
else if (err.name === 'PermissionDeniedError' && $.browser.mozilla){ |
|
|
|
else if ((err.name === 'PermissionDeniedError' || err.name === 'SecurityError') && $.browser.mozilla){ |
|
|
|
$('#firefoxShareScreenModal').modal('show'); |
|
|
|
$('#firefoxShareScreenModal').modal('show'); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (err.name === 'PERMISSION_DENIED' || |
|
|
|
else if (err.name === 'PERMISSION_DENIED' || |
|
|
|
err.name === 'PermissionDeniedError' || |
|
|
|
err.name === 'PermissionDeniedError' || |
|
|
|
|
|
|
|
err.name === 'SecurityError' || |
|
|
|
err.name === 'ConstraintNotSatisfiedError'){ |
|
|
|
err.name === 'ConstraintNotSatisfiedError'){ |
|
|
|
cantShare(localize('SCREEN_SHARING_CANCELLED')); |
|
|
|
cantShare(localize('SCREEN_SHARING_CANCELLED')); |
|
|
|
} |
|
|
|
} |
|
|
|