Firefox changed once again the error when screensharing is not allowed

master
Daniel Berteaud 8 years ago
parent 9af7c613a1
commit 4e75233063
  1. 2
      public/js/vroom.js

@ -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' ||

Loading…
Cancel
Save