Selaa lähdekoodia

remove candy dependency + better comments on videconf template example

Guénaël Muller 7 vuotta sitten
vanhempi
commit
8ab5c2bfa6
1 muutettua tiedostoa jossa 12 lisäystä ja 21 poistoa
  1. 12 21
      tracim/tracim/templates/videoconf.mak

+ 12 - 21
tracim/tracim/templates/videoconf.mak Näytä tiedosto

@@ -34,13 +34,12 @@
34 34
 <div class="content__home">
35 35
     <div id="jitsi">
36 36
     </div>
37
-    // This example use jitsi-external API. Using lib-jitsi-meet is also a possibility.
38
-    // It support alls jitsi-meet features.
39
-    /* About support for "private (1-to-1) text message into room", check this :
40
-       https://github.com/jitsi/lib-jitsi-meet/pull/616
41
-    */
42 37
     <script src="https://prosody/libs/external_api.min.js"></script>
43 38
     <script>
39
+        //This example use jitsi-external API. Using lib-jitsi-meet is also a possibility.
40
+        // It support alls jitsi-meet features.
41
+        // About support for "private (1-to-1) text message into room", check this :
42
+        // https://github.com/jitsi/lib-jitsi-meet/pull/616
44 43
         var domain = "prosody";
45 44
         var options = {
46 45
 	    // jitsi-meet support now(10-2017) only one way to auto-auth, token,
@@ -54,17 +53,16 @@
54 53
             configOverwrite: {
55 54
                  enableWelcomePage: false,
56 55
                  enableUserRolesBasedOnToken: true,
57
-		 /*
58
-		  Example of how it can be possible to use others auths.
59
-		  This solution has some security issue.
60
-		  see this rejected PR : https://github.com/jitsi/jitsi-meet/pull/2109
61
-		  roomPassword: "plop",
62
-                  userJid: "john@auth.prosody",
63
-                  userPassword: "j",
64
-		 */
56
+                // Example of how it can be possible to use others auths.
57
+                // This solution has some security issue.
58
+                // see this rejected PR : https://github.com/jitsi/jitsi-meet/pull/2109
59
+                // roomPassword: "plop",
60
+                // userJid: "john@auth.prosody",
61
+                // userPassword: "j",
62
+
65 63
             },
66 64
             interfaceConfigOverwrite: {
67
-                ##DEFAULT_BACKGROUND: '#FFFFFF',
65
+                // DEFAULT_BACKGROUND: '#FFFFFF',
68 66
                 SHOW_JITSI_WATERMARK: false,
69 67
                 SHOW_POWERED_BY: false,
70 68
                 SHOW_WATERMARK_FOR_GUESTS: false,
@@ -89,12 +87,5 @@
89 87
         // We can override also avatar.
90 88
         api.executeCommand('avatarUrl', 'https://avatars0.githubusercontent.com/u/3671647');
91 89
     </script>
92
-   /*  Candy chat iframe, just for some test
93
-       https://github.com/candy-chat/candy
94
-       <iframe src="/assets/candy/index.html"
95
-        width=100%
96
-        height=300px>
97
-      </iframe> 
98
-  */
99 90
 </div>
100 91