1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-02 13:21:40 +02:00

Firefox changed once again the error when screensharing is not allowed

This commit is contained in:
Daniel Berteaud 2016-10-12 10:08:02 +02:00
parent 9af7c613a1
commit 4e75233063

View File

@ -2009,7 +2009,7 @@ function initVroom(room) {
// This error usually means you have denied access (old flag way)
// or you cancelled screen sharing (new extension way)
// 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');
}
else if (err.name === 'PERMISSION_DENIED' ||