-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
216 lines (206 loc) · 13.3 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!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="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="public/Assets/css/style.css">
<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 userid');
if(!user_id || !meeting_id){
alert('User id or meeting id 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" style="display: none;flex-basis: 75%;">
<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>
<!-- ......................HandRaise ...............-->
<div class="display-center" style="position: relative;">
<img class="handRaise" src="/public/Assets/images/handRaise.png" style="position: absolute;height: 30px;top:8%; left: 3%;display: none;"/>
<!-- .....................HandRaise .................-->
<video autoplay muted id="locaVideoPlayer"></video>
</div>
</div>
<div id="otherTemplate" class="userbox display-center flex-column" style="display:none">
<h2 class="display-center" style="font-size: 14px;"></h2>
<!-- .....................HandRaise .................-->
<div class="display-center" style="position: relative;">
<img src="/public/Assets/images/handRaise.png" style="position: absolute;height: 30px;top:8%; left: 3%;display: none;"/>
<!-- .....................HandRaise .................-->
<video autoplay muted></video>
<audio autoplay controls style="display:none"></audio>
</div>
</div>
</div>
</div>
</div>
<div class="g-right-details-wrap bg-light text-secondary h-100" style="flex-basis: 25%; z-index: 1; display: none;">
<div class="meeting-heading-wrap d-flex justify-content-between align-items-center pr-3 pl-3" style="height: 10vh;">
<div class="meeting-heading font-weight-bold ">Meeing Details</div>
<div class="meeting-heading-cross display-center cursor-pointer">
<span class="material-icons">clear</span>
</div>
</div>
<div class="people-chat-wrap d-flex justify-content-between align-items-center ml-3 mr-3 pr-3 pl-3" style="height: 10vh;font-size: 14px;">
<div class="people-heading display-center cursor-pointer">
<div class="people-headin-icon display-center mr-1">
<span class="material-icons">people</span>
</div>
<div class="people-headin-text display-center">
Participant (<span class="participant-count">1</span>)
</div>
</div>
<div class="chat-heading d-flex just-content-round align-items-center cursor-pointer">
<div class="chat-heading-icon display-center mr-1">
<span class="material-icons">
message
</span>
</div>
<div class="chat-heading-text">
Chat
</div>
</div>
</div>
<div class="in-call-chat-wrap mr-3 ml-3 pl-3 pr-3" style="font-size: 14px; height: 69vh; overflow-y: scroll;">
<div class="in-call-wrap-up" style="display: none !important;">
<div class="in-call-wrap d-flex justify-content-between align-items-center mb-3">
<div class="participant-img-name-wrap display-center cursor-pointer">
<div class="participant-img">
<img src="public/Assets/images/other.jpg" alt="" class="border border-secondary" style="height: 40px;width: 40px;border-radius: 50%;">
</div>
<div class="participant-name ml-2">You</div>
</div>
<div class="participant-action-wrap display-center">
<div class="participant-action-dot display-center mr-2 cursor-pointer">
<span class="material-icons">
more_vert
</span>
</div>
<div class="participant-action-pin display-center mr-2 cursor-pointer">
<span class="material-icons">
push_pin
</span>
</div>
</div>
</div>
</div>
<div class="chat-show-wrap text-secondary flex-column justify-content-between h-100" style="font-size: 14px; display: flex;">
<div class="chat-message-show" id="messages"></div>
<div class="chat-message-sent d-flex justify-content-between align-items-center" style="margin-bottom:35px">
<div class="chat-message-sent-input" style="width: 85%;">
<input type="text" name="" class="chat-message-sent-input-field w-100" id="msgbox" placeholder="Send a message to everyone" style="border-bottom: 1px solid teal; border: none;">
</div>
<div class="chat-message-sent-action display-center" id="btnsend" style="color: teal; cursor:pointer;">
<span class="material-icons">send</span>
</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 participant-count">1</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="g-details border border-success mb-2" style="display: none;min-height: 19.5vh;">
<div class="g-details-heading d-flex justify-content-between align-items-center border-bottom pb-1">
<div class="g-details-heading-detail d-flex align-items-center cursor-pointer">
<span class="material-icons">error</span style="margin-top:-5px">Details<span></span>
</div>
<div class="g-details-heading-attachment d-flex align-items-center cursor-pointer">
<span class="material-icons">attachment</span style="margin-top:-5px">Attachment<span></span>
</div>
</div>
<div class="g-details-heading-show-wrap">
<div class="g-details-heading-show">
<div style="font-weight: 600;color:gray">Joining Info</div>
<div class="meeting_url" style="padding: 5px 0;" data-toggle="tooltip" data-placement="top"></div>
<div style="cursor: pointer;">
<span class="material-icons" style="font-size: 14px;">content_copy</span>
<span class="copy_info font-weight-bold">Copy Joining Info <span style="display: none;background-color: aquamarine; border-radius: 5px;" class="link-conf font-weight-bold p-1">Link Copied</span></span>
</div>
</div>
<div class="g-details-heading-show-attachment" style="display: none;position: relative;">
<div class="show-attach-file"></div>
<div class="upload-attach-file">
<form enctype="multipart/form-data" ref="uploadForm" class="display-center" id="uploadForm" style="justify-content: space-between;">
<div class="custom-file" style="flex-basis:79%">
<input type="file" class="custom-file-input" id="customFile" name="imagefile">
<label for="customFile" class="custom-file-label">Choose File</label>
</div>
<div class="share-button-wrap">
<button class="btn btn-primary btn-sm share-attach" style="flex-basis:19%;padding: 6px 20px;">Share</button>
</div>
</form>
</div>
</div>
</div>
</div>
<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 just-content-center align-items-center" style="height: 10vh;">
<div class="mic-toggle-wrap action-icon-style display-center mr-2 cursor-pointer" id="miceMuteUnmute">
<span class="material-icons" style="width: 100%;">mic_off</span>
</div>
<div class="end-call-wrap action-icon-style display-center mr-2 cursor-pointer">
<span class="material-icons text-danger">call</span>
</div>
<div class="video-toggle-wrap action-icon-style display-center cursor-pointer" id="videoCamOnOff"><span class="material-icons" style="width: 100%;">videocam_off</span></div>
<!-- .....................HandRaise .................-->
<div class="handRaiseAction display-center cursor-pointer" id="handRaiseAction" style="margin-left: 5px;"><Img src="/public/Assets/images/handRaiseBlack.png" style="height: 30px;width: 30px;" /></div>
<!-- .....................HandRaise .................-->
</div>
<div class="bottom-right d-flex just-content-center align-items-center mr-3" id="screenShare-wrap" style="height: 10vh;">
<div class="present-now-wrap d-flex just-content-center flex-column align-items-center mr-5 cursor-pointer" id="ScreenShareOnOf">
<span class="material-icons">present_to_all</span>
<div>Present Now</div>
</div>
<div class="option-wrap cursor-pointer display-center" style="height: 10vh; position:relative;">
<div class="recording-show">
<button class="btn btn-dark text-danger start-record">Start Recording</button>
</div>
<div class="option-icon">
<span class="material-icons">more_vert</span>
</div>
</div>
</div>
</div>
<div class="top-box-show" style="display: none;">
</div>
</main>
</body>
</html>