Also correctly fade out the main video when we unshare our screen

master
Daniel Berteaud 11 years ago
parent 811f61fab2
commit 7ca297267f
  1. 2
      public/js/vroom.js

@ -952,7 +952,7 @@ function initVroom(room) {
setTimeout(function(){
$("#peer_" + id).remove();
}, 300);
if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming'){
if (mainVid == id + '_video_incoming' || mainVid == id + '_incoming' || mainVid == id + 'Screen'){
$('#mainVideo').hide(500);
setTimeout(function(){
$('#mainVideo').html('');

Loading…
Cancel
Save