You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example/index.html
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -93,14 +93,14 @@
93
93
returnmsg.replace(/</g,'<');
94
94
}
95
95
96
-
functioninitFullScreen(){
96
+
functioninitFullScreen(){
97
97
varbutton=document.getElementById("fullscreen");
98
98
button.addEventListener('click',function(event){
99
-
varelem=document.getElementById("videos");
100
-
//show full screen
99
+
varelem=document.getElementById("videos");
100
+
//show full screen
101
101
elem.webkitRequestFullScreen();
102
102
});
103
-
}
103
+
}
104
104
105
105
functioninitNewRoom(){
106
106
varbutton=document.getElementById("newRoom");
@@ -114,7 +114,7 @@
114
114
varrnum=Math.floor(Math.random()*chars.length);
115
115
randomstring+=chars.substring(rnum,rnum+1);
116
116
}
117
-
117
+
118
118
window.location.hash=randomstring;
119
119
location.reload();
120
120
})
@@ -163,7 +163,7 @@
163
163
alert('Your browser is not supported or you have to turn on flags. In chrome you go to chrome://flags and turn on Enable PeerConnection remember to restart chrome');
0 commit comments