-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (96 loc) · 5 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!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">
<title>Google Meet</title>
<link rel="stylesheet" href="public/Assets/css/bootstrap.min.css">
<link rel="stylesheet" href="public/Assets/css/style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js"></script>
<script src="public/Assets/js/jquery-3.4.1.min.js"></script>
<script src="public/Assets/js/app.js"></script>
<script>
$(function() {
const urlParams = new URLSearchParams(window.location.search);
var meeting_id = urlParams.get('meetingID');
var user_id = window.prompt('Enter your User ID');
if(!user_id || !meeting_id){
alert('User ID or Meeting ID is missing');
window.location.href='/action.html';
return;
}
$("#meetingContainer").show();
MyApp._init(user_id,meeting_id);
})
</script>
</head>
<body>
<main class="d-flex flex-column home-wrap">
<div class="g-top text-light">
<div class="top-remote-video-show-wrap d-flex">
<div id="meetingContainer" class="w-75 d-none">
<div class="call-wrap" style="background-color: black;">
<div class="video-wrap" id="divUsers" style="display: flex; flex-wrap:wrap;">
<div id="me" class="userbox display-center flex-column">
<h2 class="display-center" style="font-size: 14px;"></h2>
<div class="display-center">
<video autoplay muted id="localvideoplayer"></video>
</div>
</div>
<div class="userbox display-center flex-column" id="otherTemplate" style="display: none;">
<h2 class="display-center" style="font-size: 14px;"></h2>
<div class="display-center">
<video autoplay muted></video>
<audio autoplay controls muted style="display: none;"></audio>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="g-top-left bg-light text-secondary w-25 d-flex align-items-center justify-content-between pl-2 pr-2">
<div class="top-left-participant-wrap pt-2 cursor-pointer">
<div class="top-left-participant-icon">
<span class="material-icons">people</span>
</div>
<div class="top-left-participant-count"></div>
</div>
<div class="top-left-chat-wrap pt-2 cursor-pointer">
<span class="material-icons">message</span>
</div>
<div class="top-left-time-wrap">
</div>
</div>
</div>
<div class="g-bottom bg-light m-0 d-flex justify-content-between align-items-center">
<div class="bottom-left d-flex" style="height: 10vh;">
<div class="display-center cursor-pointer meeting-details-button">Meeting details
<span class="material-icons">keyboard_arrow_down</span>
</div>
</div>
<div class="bottom-middle d-flex justify-content-between align-items-center" style="height: 10vh;">
<div class="mic-toggle-wrap action-icon-style mr-2 display-center cursor-pointer" id="micMuteUnmute">
<span class="material-icons">mic_off</span>
</div>
<div class="end-call-wrap action-icon-style mr-2 display-center cursor-pointer">
<span class="material-icons text-danger">call</span>
</div>
<div class="video-toggle-wrap action-icon-style display-center cursor-pointer">
<span class="material-icons">videocam_off</span>
</div>
</div>
<div class="bottom-right d-flex justify-content-center align-items-center mr-3" style="height: 10vh;">
<div class="present-now-wrap d-flex justify-content-center flex-column align-items-center mr-5 cursor-pointer">
<span class="material-icons">present_to_all</span>
<div>Present Now</div>
</div>
<div class="options-wrap display-center cursor-pointer" style="height: 10vh; position: relative;">
<span class="material-icons">more_vert</span>
</div>
</div>
</div>
</main>
</body>
</html>