Browse Source

remove candy dependency + better comments on videconf template example

Guénaël Muller 7 years ago
parent
commit
8ab5c2bfa6
1 changed files with 12 additions and 21 deletions
  1. 12 21
      tracim/tracim/templates/videoconf.mak

+ 12 - 21
tracim/tracim/templates/videoconf.mak View File

34
 <div class="content__home">
34
 <div class="content__home">
35
     <div id="jitsi">
35
     <div id="jitsi">
36
     </div>
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
     <script src="https://prosody/libs/external_api.min.js"></script>
37
     <script src="https://prosody/libs/external_api.min.js"></script>
43
     <script>
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
         var domain = "prosody";
43
         var domain = "prosody";
45
         var options = {
44
         var options = {
46
 	    // jitsi-meet support now(10-2017) only one way to auto-auth, token,
45
 	    // jitsi-meet support now(10-2017) only one way to auto-auth, token,
54
             configOverwrite: {
53
             configOverwrite: {
55
                  enableWelcomePage: false,
54
                  enableWelcomePage: false,
56
                  enableUserRolesBasedOnToken: true,
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
             interfaceConfigOverwrite: {
64
             interfaceConfigOverwrite: {
67
-                ##DEFAULT_BACKGROUND: '#FFFFFF',
65
+                // DEFAULT_BACKGROUND: '#FFFFFF',
68
                 SHOW_JITSI_WATERMARK: false,
66
                 SHOW_JITSI_WATERMARK: false,
69
                 SHOW_POWERED_BY: false,
67
                 SHOW_POWERED_BY: false,
70
                 SHOW_WATERMARK_FOR_GUESTS: false,
68
                 SHOW_WATERMARK_FOR_GUESTS: false,
89
         // We can override also avatar.
87
         // We can override also avatar.
90
         api.executeCommand('avatarUrl', 'https://avatars0.githubusercontent.com/u/3671647');
88
         api.executeCommand('avatarUrl', 'https://avatars0.githubusercontent.com/u/3671647');
91
     </script>
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
 </div>
90
 </div>
100
 
91