windhamdavid 10 years ago
parent
commit
42c07b9d93
2 changed files with 2 additions and 2 deletions
  1. 1 1
      index.html
  2. 1 1
      server.js

+ 1 - 1
index.html

@@ -11,7 +11,7 @@
 </head>
 <body onload="init()">
 	<div id="videos">
-		<video muted="muted" id="you" class="flip" autoplay width="263" height="200" style="position: absolute; left: 0px; bottom: 0px;"></video>
+		<video controls muted="muted" id="you" class="flip" autoplay width="263" height="200" style="position: absolute; left: 0px; bottom: 0px;"></video>
 	</div>
 	<div id="chatbox">
 		<div id="messages"></div>

+ 1 - 1
server.js

@@ -33,7 +33,7 @@ server.on('connection', function (socket){
 });
 
 app.get('/status', function(req, res) {
-	if (folks >= 1) {res.json({'online': 'yes'});}
+	if (folks >= 2) {res.json({'online': 'yes'});}
 	else {res.json({'online': 'no'});}
 });