Parcourir la source

Removes Firefox extension handle (removed in FF newer than latest ESR).

j8
damencho il y a 7 ans
Parent
révision
a902540167
4 fichiers modifiés avec 0 ajouts et 32 suppressions
  1. 0
    6
      conference.js
  2. 0
    14
      config.js
  3. 0
    2
      lang/main.json
  4. 0
    10
      modules/UI/UI.js

+ 0
- 6
conference.js Voir le fichier

@@ -1709,12 +1709,6 @@ export default {
1709 1709
                 }
1710 1710
             );
1711 1711
 
1712
-            return;
1713
-        } else if (error.name === JitsiTrackErrors.FIREFOX_EXTENSION_NEEDED) {
1714
-            APP.UI.showExtensionRequiredDialog(
1715
-                config.desktopSharingFirefoxExtensionURL
1716
-            );
1717
-
1718 1712
             return;
1719 1713
         }
1720 1714
 

+ 0
- 14
config.js Voir le fichier

@@ -150,23 +150,9 @@ var config = {
150 150
     // Required version of Chrome extension
151 151
     desktopSharingChromeMinExtVersion: '0.1',
152 152
 
153
-    // The ID of the jidesha extension for Firefox. If null, we assume that no
154
-    // extension is required.
155
-    desktopSharingFirefoxExtId: null,
156
-
157 153
     // Whether desktop sharing should be disabled on Firefox.
158 154
     desktopSharingFirefoxDisabled: false,
159 155
 
160
-    // The maximum version of Firefox which requires a jidesha extension.
161
-    // Example: if set to 41, we will require the extension for Firefox versions
162
-    // up to and including 41. On Firefox 42 and higher, we will run without the
163
-    // extension.
164
-    // If set to -1, an extension will be required for all versions of Firefox.
165
-    desktopSharingFirefoxMaxVersionExtRequired: 51,
166
-
167
-    // The URL to the Firefox extension for desktop sharing.
168
-    desktopSharingFirefoxExtensionURL: null,
169
-
170 156
     // Optional desktop sharing frame rate options. Default value: min:5, max:5.
171 157
     // desktopSharingFrameRate: {
172 158
     //     min: 5,

+ 0
- 2
lang/main.json Voir le fichier

@@ -278,8 +278,6 @@
278 278
         "tokenAuthFailed": "Sorry, you're not allowed to join this call.",
279 279
         "displayNameRequired": "Display name is required",
280 280
         "enterDisplayName": "Please enter your display name",
281
-        "extensionRequired": "Extension required:",
282
-        "firefoxExtensionPrompt": "You need to install a Firefox extension in order to use screen sharing. Please try again after you <a href='__url__'>get it from here</a>!",
283 281
         "feedbackHelp": "Your feedback will help us to improve our video experience.",
284 282
         "feedbackQuestion": "Tell us about your call!",
285 283
         "thankYou": "Thank you for using __appName__!",

+ 0
- 10
modules/UI/UI.js Voir le fichier

@@ -1039,16 +1039,6 @@ UI.getLargeVideo = function() {
1039 1039
  */
1040 1040
 UI.isPinned = userId => VideoLayout.getPinnedId() === userId;
1041 1041
 
1042
-/**
1043
- * Shows dialog with a link to FF extension.
1044
- */
1045
-UI.showExtensionRequiredDialog = function(url) {
1046
-    messageHandler.openMessageDialog(
1047
-        'dialog.extensionRequired',
1048
-        '[html]dialog.firefoxExtensionPrompt',
1049
-        { url });
1050
-};
1051
-
1052 1042
 /**
1053 1043
  * Shows "Please go to chrome webstore to install the desktop sharing extension"
1054 1044
  * 2 button dialog with buttons - cancel and go to web store.

Chargement…
Annuler
Enregistrer