-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (53 loc) · 1.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Document</title>
</head>
<body>
<!-- <div class="container">
<button id="send" type="button" onclick="location.href = '/sender';">Start Video Call</button>
<button id="receiver" type="button" onclick="location.href = '/receiver';">Join Video Call</button>
</div> -->
<div class="container">
<!-- <form method="get"> -->
<h1>Video Call App</h1>
<h3 style="text-align:center">Connect anywhere, anytime
<br/>One to One Real-Time Communication</h3>
<div class="box">
<input placeholder="Enter Roomname..."
type="text"
id="username-input"
name="roomname" /><br>
<div class="btn">
<button onclick="startCall()">Start Call</button>
<button onclick="joinCall()">Join Call</button>
</div>
</div>
<!-- <input type="submit" value="Start" name="type" onClick="check()"/>
<input type="submit" value="Join" name="type" onClick="check()"/> -->
<!-- </form> -->
</div>
<div id="video-call-div">
<video muted id="local-video" autoplay></video>
<video id="remote-video" autoplay></video>
<div class="call-action-div">
<button onclick="muteVideo()">Mute Video</button>
<button onclick="muteAudio()">Mute Audio</button>
<button onclick="shut()">Cut Call</button>
</div>
</div>
<script src="js/joint.js"></script>
<!-- <script>
function check(){
var url_string = window.location.href; // www.test.com?filename=test
var url = new URL(url_string);
var paramValue = url.searchParams.get("roomname");
alert(paramValue)
}
</script> -->
</body>
</html>