Browse Source

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

master
damencho 7 years ago
parent
commit
a902540167
4 changed files with 0 additions and 32 deletions
  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 View File

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
             return;
1712
             return;
1719
         }
1713
         }
1720
 
1714
 

+ 0
- 14
config.js View File

150
     // Required version of Chrome extension
150
     // Required version of Chrome extension
151
     desktopSharingChromeMinExtVersion: '0.1',
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
     // Whether desktop sharing should be disabled on Firefox.
153
     // Whether desktop sharing should be disabled on Firefox.
158
     desktopSharingFirefoxDisabled: false,
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
     // Optional desktop sharing frame rate options. Default value: min:5, max:5.
156
     // Optional desktop sharing frame rate options. Default value: min:5, max:5.
171
     // desktopSharingFrameRate: {
157
     // desktopSharingFrameRate: {
172
     //     min: 5,
158
     //     min: 5,

+ 0
- 2
lang/main.json View File

278
         "tokenAuthFailed": "Sorry, you're not allowed to join this call.",
278
         "tokenAuthFailed": "Sorry, you're not allowed to join this call.",
279
         "displayNameRequired": "Display name is required",
279
         "displayNameRequired": "Display name is required",
280
         "enterDisplayName": "Please enter your display name",
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
         "feedbackHelp": "Your feedback will help us to improve our video experience.",
281
         "feedbackHelp": "Your feedback will help us to improve our video experience.",
284
         "feedbackQuestion": "Tell us about your call!",
282
         "feedbackQuestion": "Tell us about your call!",
285
         "thankYou": "Thank you for using __appName__!",
283
         "thankYou": "Thank you for using __appName__!",

+ 0
- 10
modules/UI/UI.js View File

1039
  */
1039
  */
1040
 UI.isPinned = userId => VideoLayout.getPinnedId() === userId;
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
  * Shows "Please go to chrome webstore to install the desktop sharing extension"
1043
  * Shows "Please go to chrome webstore to install the desktop sharing extension"
1054
  * 2 button dialog with buttons - cancel and go to web store.
1044
  * 2 button dialog with buttons - cancel and go to web store.

Loading…
Cancel
Save