-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.htm
32 lines (27 loc) · 1.25 KB
/
video.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Video Call</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<style>
.instantCallBtn:hover {
background-color: cornsilk !important;
cursor: pointer;
}
</style>
</head>
<body class="p-2" style="text-align: center; background: #2C1B47;">
<h1 style="color: white;">Gugul Meat</h1>
<div style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);"><button class="instantCallBtn" id="startcall" style="background-color: white; border-radius: 50%; padding: 25%;"><b>Start instant video call</b></button></div>
</body>
</html>
<script>
function getPhrase() {
fetch("/phrase").then(response => {
return response.text();
}).then(data => window.location.href = "/"+data);
}
document.querySelector("#startcall").addEventListener("click", getPhrase);
</script>