Fixed light client & added Docker config
This commit is contained in:
38
server/client/index.html
Normal file
38
server/client/index.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<title>Lil'Streamy</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loginDiv">
|
||||
<input class="input" id="loginInput" placeholder="username" type="text"/>
|
||||
<button class="button" id="loginBt" >Login</button>
|
||||
</div>
|
||||
|
||||
<div id="connectDiv">
|
||||
<input id="callInput" placeholder="user to call" type="text"/>
|
||||
<button id="callBt" >Connect</button>
|
||||
<hr>
|
||||
<input id="videoInput" type="file" accept="video/*"/>
|
||||
</div>
|
||||
|
||||
<div id="videoDiv">
|
||||
<h2 id="videoTitle"></h2>
|
||||
<video autoplay controls id="video"></video>
|
||||
<hr>
|
||||
<button id="disconnectBt">Disconnect</button>
|
||||
</div>
|
||||
|
||||
<div id="loadDiv">
|
||||
<div class="loader" style="display:block"></div>
|
||||
</div>
|
||||
|
||||
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
|
||||
<script src = "scripts/script.js"></script>
|
||||
<script src = "scripts/rtc.js"></script>
|
||||
<script src = "scripts/signal.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user