-
Notifications
You must be signed in to change notification settings - Fork 18
/
meeting.html
59 lines (54 loc) · 1.95 KB
/
meeting.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
<html>
<head>
<style>
.container {
position: relative;;
width: 640px;
height:520px;
border:1px red solid;
}
.toolbox {
position: absolute;
bottom: 0px;
border:1px red solid;
width: 100%;
height:50px;
}
</style>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://40.76.47.33/external_api.js"></script>
<script src="myapp4.js"></script>
<script>
$(function(){
const urlParams = new URLSearchParams(window.location.search);
var meeting_id = urlParams.get('mid');
if (!meeting_id) {
alert('meeting id is missing');
return;
}
var dispNme = window.prompt('Enter your nick!');
if (!dispNme) {
dispNme = "New User";
}
$('#dispName').text(dispNme);
$('#joinMsg').text('Joining...');
BindEvent();
StartMeeting(meeting_id,dispNme);
});
</script>
</head>
<body>
<h1 id='dispName'></h1>
<div id='joinMsg'></div>
<div id='container' class="container" style="display:none;">
<div id="toolbox" class="toolbox" style="display:none;">
<button id='btnHangup'>Hangup</button>
<button id='btnCustomMic'>Mic</button>
<button id='btnCustomCamera'>Camera</button>
<button id='btnCustomTileView'>Toggle Tileview</button>
<button id='btnScreenShareCustom'>SS</button>
</div>
<div id='jitsi-meet-conf-container'></div>
</div>
</body>
</html>