Browse Source

fix(prejoin) fix libs path

master
Tudor-Ovidiu Avram 5 years ago
parent
commit
1ae5630590
1 changed files with 7 additions and 5 deletions
  1. 7
    5
      static/prejoin.html

+ 7
- 5
static/prejoin.html View File

15
           const params = new URLSearchParams(url.search);
15
           const params = new URLSearchParams(url.search);
16
           const showAvatar = params.get('showAvatar') === 'true';
16
           const showAvatar = params.get('showAvatar') === 'true';
17
           const showJoinActions = params.get('showJoinActions') === 'true';
17
           const showJoinActions = params.get('showJoinActions') === 'true';
18
+          const showSkipPrejoin = params.get('showSkipPrejoin') === 'true';
18
           const css = params.get('style');
19
           const css = params.get('style');
19
           const style = document.createElement('style');
20
           const style = document.createElement('style');
20
           style.appendChild(document.createTextNode(css));
21
           style.appendChild(document.createTextNode(css));
24
               Component: JitsiMeetJS.app.entryPoints.PREJOIN,
25
               Component: JitsiMeetJS.app.entryPoints.PREJOIN,
25
               props: {
26
               props: {
26
                 showAvatar,
27
                 showAvatar,
27
-                showJoinActions
28
+                showJoinActions,
29
+                showSkipPrejoin
28
               }
30
               }
29
           })
31
           })
30
       })
32
       })
31
     </script>
33
     </script>
32
     <!--#include virtual="/title.html" -->
34
     <!--#include virtual="/title.html" -->
33
-    <script>var config = {}</script><!-- adapt to your needs, i.e. set hosts and bosh path -->
34
-    <script>var interfaceConfig = {}</script>
35
-    <script src="../libs/lib-jitsi-meet.min.js?v=139"></script>
36
-    <script src="../libs/app.bundle.min.js?v=139"></script>
35
+    <script><!--#include virtual="/config.js" --></script>
36
+    <script><!--#include virtual="/interface_config.js" --></script>
37
+    <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
38
+    <script src="libs/app.bundle.min.js?v=139"></script>
37
   </head>
39
   </head>
38
   <body>
40
   <body>
39
     <div id="react"></div>
41
     <div id="react"></div>

Loading…
Cancel
Save