-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
325 lines (289 loc) · 14.4 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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
<head>
<meta http-equiv="origin-trial" content="AgrHPASqxKwPM4tUmJX0Cd7IzdPkp+EYVnPHvS4ZMgWIL8Cnvj2LPyFeqUBPV1sVm9obij3Kv1wG7EPInSchOwMAAABZeyJvcmlnaW4iOiJodHRwczovL21lZXQuaml0LnNpOjQ0MyIsImZlYXR1cmUiOiJSVENJbnNlcnRhYmxlU3RyZWFtcyIsImV4cGlyeSI6MTYwMTQyMzk5OX0=">
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="https://web-cdn.jitsi.net/meetjitsi_4392.1013/" />
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="stylesheet" href="css/all.css?v=4392.1013">
<script>
document.addEventListener('DOMContentLoaded', () => {
if (!JitsiMeetJS.app) {
return;
}
JitsiMeetJS.app.renderEntryPoint({
Component: JitsiMeetJS.app.entryPoints.APP
})
})
</script>
<script>
// IE11 and earlier can be identified via their user agent and be
// redirected to a page that is known to have no newer js syntax.
if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
var roomName = encodeURIComponent(window.location.pathname);
window.location.href = "static/recommendedBrowsers.html" + "?room=" + roomName;
}
window.indexLoadedTime = window.performance.now();
console.log("(TIME) index.html loaded:\t", indexLoadedTime);
// XXX the code below listeners for errors and displays an error message
// in the document body when any of the required files fails to load.
// The intention is to prevent from displaying broken page.
var criticalFiles = [
"config.js",
"utils.js",
"do_external_connect.js",
"interface_config.js",
"logging_config.js",
"lib-jitsi-meet.min.js",
"app.bundle.min.js",
"all.css?v=4392.1013"
];
var loadErrHandler = function(e) {
var target = e.target;
// Error on <script> and <link>(CSS)
// <script> will have .src and <link> .href
var fileRef = (target.src ? target.src : target.href);
if (("SCRIPT" === target.tagName || "LINK" === target.tagName)
&& criticalFiles.some(
function(file) { return fileRef.indexOf(file) !== -1 })) {
window.onload = function() {
// The whole complex part below implements page reloads with
// "exponential backoff". The retry attempt is passes as
// "rCounter" query parameter
var href = window.location.href;
var retryMatch = href.match(/.+(\?|&)rCounter=(\d+)/);
var retryCountStr = retryMatch ? retryMatch[2] : "0";
var retryCount = Number.parseInt(retryCountStr);
if (retryMatch == null) {
var separator = href.indexOf("?") === -1 ? "?" : "&";
var hashIdx = href.indexOf("#");
if (hashIdx === -1) {
href += separator + "rCounter=1";
} else {
var hashPart = href.substr(hashIdx);
href = href.substr(0, hashIdx)
+ separator + "rCounter=1" + hashPart;
}
} else {
var separator = retryMatch[1];
href = href.replace(
/(\?|&)rCounter=(\d+)/,
separator + "rCounter=" + (retryCount + 1));
}
var delay = Math.pow(2, retryCount) * 2000;
if (isNaN(delay) || delay < 2000 || delay > 60000)
delay = 10000;
var showMoreText = "show more";
var showLessText = "show less";
document.body.innerHTML
= "<div style='"
+ "position: absolute;top: 50%;left: 50%;"
+ "text-align: center;"
+ "font-size: medium;"
+ "font-weight: 400;"
+ "transform: translate(-50%, -50%)'>"
+ "Uh oh! We couldn't fully download everything we needed :("
+ "<br/> "
+ "We will try again shortly. In the mean time, check for problems with your Internet connection!"
+ "<br/><br/> "
+ "<div id='moreInfo' style='"
+ "display: none;'>" + "Missing " + fileRef
+ "<br/><br/></div>"
+ "<a id='showMore' style='"
+ "text-decoration: underline;"
+ "font-size:small;"
+ "cursor: pointer'>" + showMoreText + "</a>"
+ " "
+ "<a id ='reloadLink' style='"
+ "text-decoration: underline;"
+ "font-size:small;"
+ "'>reload now</a>"
+ "</div>";
var reloadLink = document.getElementById('reloadLink');
reloadLink.setAttribute('href', href);
var showMoreElem = document.getElementById("showMore");
showMoreElem.addEventListener('click', function () {
var moreInfoElem
= document.getElementById("moreInfo");
if (showMoreElem.innerHTML === showMoreText) {
moreInfoElem.setAttribute(
"style",
"display: block;"
+ "color:#FF991F;"
+ "font-size:small;"
+ "user-select:text;");
showMoreElem.innerHTML = showLessText;
}
else {
moreInfoElem.setAttribute(
"style", "display: none;");
showMoreElem.innerHTML = showMoreText;
}
});
window.setTimeout(
function () { window.location.replace(href); }, delay);
// Call extra handler if defined.
if (typeof postLoadErrorHandler === "function") {
postLoadErrorHandler(fileRef);
}
};
window.removeEventListener(
'error', loadErrHandler, true /* capture phase */);
}
};
window.addEventListener(
'error', loadErrHandler, true /* capture phase type of listener */);
</script>
<script src="https://meet.jit.si/config.js"></script>
<script src="https://maxired.github.io/myjitsi/config.js"></script>
<script src="libs/external_connect.js?v=1"></script>
<script src="libs/do_external_connect.min.js?v=1"></script>
<script src="interface_config.js"></script>
<script src="https://maxired.github.io/myjitsi/interface_config.js"></script>
<script>/* eslint-disable no-unused-vars, no-var */
// Logging configuration
var loggingConfig = {
// default log level for the app and lib-jitsi-meet
defaultLogLevel: 'trace',
// Option to disable LogCollector (which stores the logs on CallStats)
// disableLogCollector: true,
// The following are too verbose in their logging with the
// {@link #defaultLogLevel}:
'modules/RTC/TraceablePeerConnection.js': 'info',
'modules/statistics/CallStats.js': 'info',
'modules/xmpp/strophe.util.js': 'log'
};
/* eslint-enable no-unused-vars, no-var */
// XXX Web/React server-includes logging_config.js into index.html.
// Mobile/react-native requires it in react/features/base/logging. For the
// purposes of the latter, (try to) export loggingConfig. The following
// detection of a module system is inspired by webpack.
typeof module === 'object'
&& typeof exports === 'object'
&& (module.exports = loggingConfig);
</script>
<script src="libs/lib-jitsi-meet.min.js?v=4392.1013"></script>
<script src="libs/app.bundle.min.js?v=4392.1013"></script>
<title>Jitsi Meet</title>
<meta property="og:title" content="Jitsi Meet"/>
<meta property="og:image" content="images/jitsilogo.png?v=1"/>
<meta property="og:description" content="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
<meta description="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
<meta itemprop="name" content="Jitsi Meet"/>
<meta itemprop="description" content="Join a WebRTC video conference powered by the Jitsi Videobridge"/>
<meta itemprop="image" content="images/jitsilogo.png?v=1"/>
<link rel="icon" type="image/png" href="images/favicon.ico?v=1"/>
<script>
(function() {
var filter_list=[];
if (filter_list && filter_list.length >0) {
interfaceConfig.TOOLBAR_BUTTONS = interfaceConfig.TOOLBAR_BUTTONS.filter(function (e) {
return filter_list.indexOf(e) == -1;
});
}
// Function called when any of the critical index.html resources
// fail to load.
window.postLoadErrorHandler = function (fileRef) {
if (typeof config.hepopAnalyticsUrl !== 'string'
|| typeof config.hepopAnalyticsEvent !== "object") {
// Nothing to be done here
return;
}
function responseHandler () {
console.log("HEPop analytics response:", this.responseText);
}
// Set required dynamic fields
var event = config.hepopAnalyticsEvent;
event.serverTime = new Date().getTime();
if (config) {
event.user = config.deploymentInfo;
} else {
event.user = {};
}
event.device_id=Math.random().toString(36).substring(2);
if (window.localStorage) {
event.user.callstats_name
= window.localStorage.callStatsUserName;
}
if (fileRef) {
event.user.reason = fileRef;
}
event.user.url = window.location.href;
event.user.conference_name = window.location.pathname.substr(1,window.location.pathname.length-1);
var xhttp = new XMLHttpRequest();
xhttp.addEventListener("load", responseHandler);
xhttp.open("POST", config.hepopAnalyticsUrl, true);
xhttp.setRequestHeader("Content-Type", "application/json");
xhttp.send(JSON.stringify(event));
};
}());
</script>
<template id="welcome-page-additional-content-template">
<div class="welcome-page-content">
<div class="more-footer">
<div class="more-section">
<div class="more-section-content">
<p class="more-section-title">JITSI ON MOBILE</p>
<p class="more-section-text">Download our mobile apps and start a call anywhere you are on your phone or tablet.</p>
<div class="more-section-links">
<a href="https://itunes.apple.com/us/app/jitsi-meet/id1165103905" rel="noopener" target="_blank">
<img src="images/welcome_page/appstore.svg">
</a>
<a href="https://play.google.com/store/apps/details?id=org.jitsi.meet" rel="noopener" target="_blank">
<img src="images/welcome_page/googleplay.png">
</a>
</div>
</div>
</div>
<div class="more-section">
<div class="more-section-content">
<p class="more-section-title">JITSI FOR SLACK</p>
<p class="more-section-text">Hello Slack fans! Very pleased to meet you! There's no need to create an account. Just click below, and off you go!</p>
<div class="more-section-links">
<a href="https://slack.com/oauth/authorize?client_id=116888949298.122751011265&scope=bot,commands" rel="noopener" target="_blank">
<img alt="Add to Slack" src="images/add_to_slack.png" srcset="images/add_to_slack.png 1x, images/[email protected] 2x" />
</a>
</div>
</div>
</div>
</div>
<div class="welcome-footer">
<!--<div class="welcome-footer-curve"></div>-->
<div class="welcome-footer-content">
<div class="welcome-footer-about">
<div>
Jitsi Meet is proudly powered by an awesome <a href="https://www.github.com/jitsi" rel="noopener" target="_blank">open source community</a> and <a href="https://www.8x8.com" rel="noopener" target="_blank">8x8</a>.
</div>
<div>
Have a look at our <a
href="https://jitsi.org/meet-jit-si-privacy/"
rel="noopener"
target="_blank">privacy policy</a> and <a
href="http://jitsi.org/meet-jit-si-terms-of-service/"
rel="noopener"
target="_blank">terms of service</a>.
</div>
<div>
Report abuse <a href="mailto:[email protected]" target="_blank">here</a>.
</div>
</div>
<div class="welcome-footer-connect">
<div class="welcome-footer-connect-links">
<ul>
<li><a href="https://www.facebook.com/jitsi" rel="noopener" target="_blank"><img src="images/welcome_page/facebook.svg"></a></li>
<li><a href="https://www.linkedin.com/company/8x8/" rel="noopener" target="_blank"><img src="images/welcome_page/linkedin.svg"></a></li>
<li><a href="https://www.github.com/jitsi" rel="noopener" target="_blank"><img src="images/welcome_page/github.svg"></a></li>
<li><a href="https://www.twitter.com/jitsinews" rel="noopener" target="_blank"><img src="images/welcome_page/twitter.svg"></a></li>
</ul>
</div>
</div>
</div>
</div>
</template>
<template id="settings-toolbar-additional-content-template"></template>
</head>
<body>
<div id="react"></div>
</body>
</html>