Updates the library. Removes oncontextmenu handlers.

This commit is contained in:
hristoterezov 2016-01-22 11:37:48 -06:00
parent c5f94fadd8
commit 6ad9243446
3 changed files with 8655 additions and 657 deletions

View File

@ -154,7 +154,7 @@
<canvas id="dominantSpeakerAudioLevel"></canvas>
</div>
<div id="largeVideoWrapper">
<video id="largeVideo" muted="true" autoplay oncontextmenu="return false;"></video>
<video id="largeVideo" muted="true" autoplay></video>
</div>
<span id="videoConnectionMessage"></span>
</div>
@ -163,9 +163,9 @@
<span id="localVideoContainer" class="videocontainer">
<span id="localNick" class="nick"></span>
<span id="localVideoWrapper">
<!--<video id="localVideo" autoplay oncontextmenu="return false;" muted></video> - is now per stream generated -->
<!--<video id="localVideo" autoplay muted></video> - is now per stream generated -->
</span>
<audio id="localAudio" autoplay oncontextmenu="return false;" muted></audio>
<audio id="localAudio" autoplay muted></audio>
<span class="focusindicator"></span>
</span>
<audio id="userJoined" src="sounds/joined.wav" preload="auto"></audio>

File diff suppressed because it is too large Load Diff

View File

@ -170,7 +170,6 @@ LocalVideo.prototype.changeVideo = function (stream) {
localVideo.autoplay = true;
localVideo.volume = 0; // is it required if audio is separated ?
}
localVideo.oncontextmenu = function () { return false; };
var localVideoContainer = document.getElementById('localVideoWrapper');
// Put the new video always in front