mirror of https://github.com/dani/vroom.git
Firefox changed once again the error when screensharing is not allowed
This commit is contained in:
parent
9af7c613a1
commit
4e75233063
|
@ -2009,7 +2009,7 @@ 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' || err.name === 'SecurityError') && $.browser.mozilla){
|
else if ((err.name === 'PermissionDeniedError' || err.name === 'SecurityError' || err.name === 'NotAllowedError') && $.browser.mozilla){
|
||||||
$('#firefoxShareScreenModal').modal('show');
|
$('#firefoxShareScreenModal').modal('show');
|
||||||
}
|
}
|
||||||
else if (err.name === 'PERMISSION_DENIED' ||
|
else if (err.name === 'PERMISSION_DENIED' ||
|
||||||
|
|
Loading…
Reference in New Issue