Ver código fonte

Updates the library. Removes oncontextmenu handlers.

master
hristoterezov 9 anos atrás
pai
commit
6ad9243446
3 arquivos alterados com 9048 adições e 1050 exclusões
  1. 3
    3
      index.html
  2. 9045
    1046
      libs/lib-jitsi-meet.js
  3. 0
    1
      modules/UI/videolayout/LocalVideo.js

+ 3
- 3
index.html Ver arquivo

154
                     <canvas id="dominantSpeakerAudioLevel"></canvas>
154
                     <canvas id="dominantSpeakerAudioLevel"></canvas>
155
                 </div>
155
                 </div>
156
                 <div id="largeVideoWrapper">
156
                 <div id="largeVideoWrapper">
157
-                    <video id="largeVideo" muted="true" autoplay oncontextmenu="return false;"></video>
157
+                    <video id="largeVideo" muted="true" autoplay></video>
158
                 </div>
158
                 </div>
159
                 <span id="videoConnectionMessage"></span>
159
                 <span id="videoConnectionMessage"></span>
160
             </div>
160
             </div>
163
                 <span id="localVideoContainer" class="videocontainer">
163
                 <span id="localVideoContainer" class="videocontainer">
164
                     <span id="localNick" class="nick"></span>
164
                     <span id="localNick" class="nick"></span>
165
                     <span id="localVideoWrapper">
165
                     <span id="localVideoWrapper">
166
-                        <!--<video id="localVideo" autoplay oncontextmenu="return false;" muted></video> - is now per stream generated -->
166
+                        <!--<video id="localVideo" autoplay muted></video> - is now per stream generated -->
167
                     </span>
167
                     </span>
168
-                    <audio id="localAudio" autoplay oncontextmenu="return false;" muted></audio>
168
+                    <audio id="localAudio" autoplay muted></audio>
169
                     <span class="focusindicator"></span>
169
                     <span class="focusindicator"></span>
170
                 </span>
170
                 </span>
171
                 <audio id="userJoined" src="sounds/joined.wav" preload="auto"></audio>
171
                 <audio id="userJoined" src="sounds/joined.wav" preload="auto"></audio>

+ 9045
- 1046
libs/lib-jitsi-meet.js
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


+ 0
- 1
modules/UI/videolayout/LocalVideo.js Ver arquivo

170
         localVideo.autoplay = true;
170
         localVideo.autoplay = true;
171
         localVideo.volume = 0; // is it required if audio is separated ?
171
         localVideo.volume = 0; // is it required if audio is separated ?
172
     }
172
     }
173
-    localVideo.oncontextmenu = function () { return false; };
174
 
173
 
175
     var localVideoContainer = document.getElementById('localVideoWrapper');
174
     var localVideoContainer = document.getElementById('localVideoWrapper');
176
     // Put the new video always in front
175
     // Put the new video always in front

Carregando…
Cancelar
Salvar