Bladeren bron

Interface Config loaded via SSI into index.html to allow deployment-specific overrides even when using CDN

update whitespace in toolbar buttons array to allow value to be more easily overridden
j8
Aaron van Meerten 8 jaren geleden
bovenliggende
commit
a58190a935
2 gewijzigde bestanden met toevoegingen van 2 en 5 verwijderingen
  1. 1
    1
      index.html
  2. 1
    4
      interface_config.js

+ 1
- 1
index.html Bestand weergeven

@@ -12,7 +12,7 @@
12 12
     <script src="utils.js?v=1"></script>
13 13
     <!--#include virtual="connection_optimization/connection_optimization.html" -->
14 14
     <script src="connection_optimization/do_external_connect.js?v=1"></script>
15
-    <script src="interface_config.js?v=6"></script>
15
+    <script><!--#include virtual="interface_config.js" --></script>
16 16
     <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
17 17
     <script src="libs/app.bundle.min.js?v=139"></script>
18 18
     <link rel="icon" type="image/png" href="/images/favicon.ico?v=1"/>

+ 1
- 4
interface_config.js Bestand weergeven

@@ -14,10 +14,7 @@ var interfaceConfig = {
14 14
     GENERATE_ROOMNAMES_ON_WELCOME_PAGE: true,
15 15
     APP_NAME: "Jitsi Meet",
16 16
     INVITATION_POWERED_BY: true,
17
-    TOOLBAR_BUTTONS: ['authentication', 'microphone', 'camera', 'desktop',
18
-        'recording', 'security', 'invite', 'chat', 'etherpad', 'sharedvideo',
19
-        'fullscreen', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip',
20
-        'contacts'],
17
+    TOOLBAR_BUTTONS: ['authentication', 'microphone', 'camera', 'desktop', 'recording', 'security', 'invite', 'chat', 'etherpad', 'sharedvideo', 'fullscreen', 'sip', 'dialpad', 'settings', 'hangup', 'filmstrip', 'contacts'],
21 18
     // Determines how the video would fit the screen. 'both' would fit the whole
22 19
     // screen, 'height' would fit the original video height to the height of the
23 20
     // screen, 'width' would fit the original video width to the width of the

Laden…
Annuleren
Opslaan