2022-07-26 11:58:12 +00:00
|
|
|
<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
|
2013-12-16 11:22:23 +00:00
|
|
|
<head>
|
2019-11-12 13:37:48 +00:00
|
|
|
<!--#include virtual="head.html" -->
|
2016-12-02 15:11:06 +00:00
|
|
|
<meta charset="utf-8">
|
2022-07-26 11:58:12 +00:00
|
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
2021-01-29 10:55:24 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
2020-10-15 07:38:49 +00:00
|
|
|
<meta name="theme-color" content="#2A3A4B">
|
2016-05-20 21:51:37 +00:00
|
|
|
<!--#include virtual="base.html" -->
|
2017-11-28 19:05:40 +00:00
|
|
|
|
2019-11-26 19:31:01 +00:00
|
|
|
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
2017-11-28 19:05:40 +00:00
|
|
|
<link rel="stylesheet" href="css/all.css">
|
2021-12-09 23:04:12 +00:00
|
|
|
<!--#include virtual="fonts.html"-->
|
2020-10-22 13:35:40 +00:00
|
|
|
<link rel="manifest" id="manifest-placeholder">
|
|
|
|
|
2020-06-29 07:45:58 +00:00
|
|
|
<script>
|
2022-09-30 14:50:45 +00:00
|
|
|
window.EXCALIDRAW_ASSET_PATH = 'libs/';
|
2020-10-22 13:35:40 +00:00
|
|
|
// Dynamically generate the manifest location URL. It must be served from the document origin, and we may have
|
|
|
|
// the base pointing to the CDN. This way we can generate a full URL which will bypass the base.
|
|
|
|
document.querySelector('#manifest-placeholder').setAttribute('href', window.location.origin + '/manifest.json');
|
|
|
|
|
2020-06-29 07:45:58 +00:00
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
if (!JitsiMeetJS.app) {
|
|
|
|
return;
|
|
|
|
}
|
2017-11-28 19:05:40 +00:00
|
|
|
|
2020-06-29 07:45:58 +00:00
|
|
|
JitsiMeetJS.app.renderEntryPoint({
|
|
|
|
Component: JitsiMeetJS.app.entryPoints.APP
|
|
|
|
})
|
2020-10-16 12:16:21 +00:00
|
|
|
|
2021-08-24 07:52:45 +00:00
|
|
|
const inIframe = () => {
|
|
|
|
try {
|
|
|
|
return window.self !== window.top;
|
|
|
|
} catch (e) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-10-16 12:16:21 +00:00
|
|
|
const isElectron = navigator.userAgent.includes('Electron');
|
2021-08-24 07:52:45 +00:00
|
|
|
const shouldRegisterWorker = !isElectron && !inIframe() && 'serviceWorker' in navigator;
|
2020-10-16 12:16:21 +00:00
|
|
|
|
|
|
|
if (shouldRegisterWorker) {
|
|
|
|
navigator.serviceWorker
|
2020-10-21 10:12:21 +00:00
|
|
|
.register(window.location.origin + '/pwa-worker.js')
|
2020-10-16 12:16:21 +00:00
|
|
|
.then(reg => {
|
|
|
|
console.log('Service worker registered.', reg);
|
|
|
|
})
|
|
|
|
.catch(err => {
|
|
|
|
console.log(err);
|
|
|
|
});
|
|
|
|
}
|
2020-10-21 07:33:25 +00:00
|
|
|
});
|
2020-06-29 07:45:58 +00:00
|
|
|
</script>
|
2016-04-01 19:44:25 +00:00
|
|
|
<script>
|
2019-02-05 16:26:27 +00:00
|
|
|
// 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)/)) {
|
2020-02-21 11:27:42 +00:00
|
|
|
var roomName = encodeURIComponent(window.location.pathname);
|
2022-04-29 17:02:05 +00:00
|
|
|
window.location.pathname = 'static/recommendedBrowsers.html';
|
2019-02-05 16:26:27 +00:00
|
|
|
}
|
|
|
|
|
2016-04-01 19:44:25 +00:00
|
|
|
window.indexLoadedTime = window.performance.now();
|
|
|
|
console.log("(TIME) index.html loaded:\t", indexLoadedTime);
|
2016-10-31 15:44:50 +00:00
|
|
|
// 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",
|
|
|
|
"lib-jitsi-meet.min.js",
|
|
|
|
"app.bundle.min.js",
|
|
|
|
"all.css"
|
|
|
|
];
|
|
|
|
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() {
|
2016-12-12 21:52:01 +00:00
|
|
|
// 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;
|
2016-12-13 19:57:11 +00:00
|
|
|
if (isNaN(delay) || delay < 2000 || delay > 60000)
|
|
|
|
delay = 10000;
|
2016-12-12 21:52:01 +00:00
|
|
|
|
2016-12-14 00:43:45 +00:00
|
|
|
var showMoreText = "show more";
|
|
|
|
var showLessText = "show less";
|
|
|
|
|
2016-12-13 19:53:28 +00:00
|
|
|
document.body.innerHTML
|
|
|
|
= "<div style='"
|
2016-12-14 00:19:49 +00:00
|
|
|
+ "position: absolute;top: 50%;left: 50%;"
|
|
|
|
+ "text-align: center;"
|
|
|
|
+ "font-size: medium;"
|
|
|
|
+ "font-weight: 400;"
|
|
|
|
+ "transform: translate(-50%, -50%)'>"
|
2017-10-12 23:02:29 +00:00
|
|
|
+ "Uh oh! We couldn't fully download everything we needed :("
|
2022-07-26 11:58:12 +00:00
|
|
|
+ "<br/> "
|
2017-10-12 23:02:29 +00:00
|
|
|
+ "We will try again shortly. In the mean time, check for problems with your Internet connection!"
|
2022-07-26 11:58:12 +00:00
|
|
|
+ "<br/><br/> "
|
2016-12-14 00:19:49 +00:00
|
|
|
+ "<div id='moreInfo' style='"
|
|
|
|
+ "display: none;'>" + "Missing " + fileRef
|
2022-07-26 11:58:12 +00:00
|
|
|
+ "<br/><br/></div>"
|
2016-12-14 00:19:49 +00:00
|
|
|
+ "<a id='showMore' style='"
|
|
|
|
+ "text-decoration: underline;"
|
|
|
|
+ "font-size:small;"
|
2016-12-14 00:43:45 +00:00
|
|
|
+ "cursor: pointer'>" + showMoreText + "</a>"
|
2016-12-14 00:19:49 +00:00
|
|
|
+ " "
|
2019-06-25 18:17:50 +00:00
|
|
|
+ "<a id ='reloadLink' style='"
|
2016-12-14 00:19:49 +00:00
|
|
|
+ "text-decoration: underline;"
|
|
|
|
+ "font-size:small;"
|
|
|
|
+ "'>reload now</a>"
|
|
|
|
+ "</div>";
|
|
|
|
|
2019-06-25 18:17:50 +00:00
|
|
|
var reloadLink = document.getElementById('reloadLink');
|
|
|
|
reloadLink.setAttribute('href', href);
|
|
|
|
|
2016-12-14 00:19:49 +00:00
|
|
|
var showMoreElem = document.getElementById("showMore");
|
|
|
|
showMoreElem.addEventListener('click', function () {
|
|
|
|
var moreInfoElem
|
|
|
|
= document.getElementById("moreInfo");
|
|
|
|
|
2016-12-14 00:43:45 +00:00
|
|
|
if (showMoreElem.innerHTML === showMoreText) {
|
2016-12-14 00:19:49 +00:00
|
|
|
moreInfoElem.setAttribute(
|
|
|
|
"style",
|
|
|
|
"display: block;"
|
|
|
|
+ "color:#FF991F;"
|
|
|
|
+ "font-size:small;"
|
|
|
|
+ "user-select:text;");
|
2016-12-14 00:43:45 +00:00
|
|
|
showMoreElem.innerHTML = showLessText;
|
2016-12-14 00:19:49 +00:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
moreInfoElem.setAttribute(
|
|
|
|
"style", "display: none;");
|
2016-12-14 00:43:45 +00:00
|
|
|
showMoreElem.innerHTML = showMoreText;
|
2016-12-14 00:19:49 +00:00
|
|
|
}
|
2016-12-13 19:53:28 +00:00
|
|
|
});
|
2016-12-13 13:33:27 +00:00
|
|
|
|
2016-12-12 21:52:01 +00:00
|
|
|
window.setTimeout(
|
|
|
|
function () { window.location.replace(href); }, delay);
|
2017-03-07 22:29:50 +00:00
|
|
|
|
|
|
|
// Call extra handler if defined.
|
|
|
|
if (typeof postLoadErrorHandler === "function") {
|
2018-05-29 18:41:15 +00:00
|
|
|
postLoadErrorHandler(fileRef);
|
2017-03-07 22:29:50 +00:00
|
|
|
}
|
2016-10-31 15:44:50 +00:00
|
|
|
};
|
|
|
|
window.removeEventListener(
|
|
|
|
'error', loadErrHandler, true /* capture phase */);
|
|
|
|
}
|
2016-11-23 21:46:46 +00:00
|
|
|
};
|
2016-10-31 15:44:50 +00:00
|
|
|
window.addEventListener(
|
|
|
|
'error', loadErrHandler, true /* capture phase type of listener */);
|
2016-04-01 19:44:25 +00:00
|
|
|
</script>
|
2016-08-03 16:52:56 +00:00
|
|
|
<script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
2016-03-28 21:19:32 +00:00
|
|
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
2017-04-11 23:27:43 +00:00
|
|
|
<script src="libs/do_external_connect.min.js?v=1"></script>
|
2016-08-03 16:52:56 +00:00
|
|
|
<script><!--#include virtual="/interface_config.js" --></script>
|
2016-03-28 21:19:32 +00:00
|
|
|
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
|
|
|
<script src="libs/app.bundle.min.js?v=139"></script>
|
2016-08-01 22:11:16 +00:00
|
|
|
<!--#include virtual="title.html" -->
|
2015-03-30 14:00:23 +00:00
|
|
|
<!--#include virtual="plugin.head.html" -->
|
2018-02-22 04:58:55 +00:00
|
|
|
<!--#include virtual="static/welcomePageAdditionalContent.html" -->
|
2020-10-19 07:37:19 +00:00
|
|
|
<!--#include virtual="static/welcomePageAdditionalCard.html" -->
|
2019-10-10 13:10:57 +00:00
|
|
|
<!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
|
2013-12-16 11:22:23 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-07-26 11:58:12 +00:00
|
|
|
<noscript aria-hidden="true">
|
|
|
|
<div>JavaScript is disabled. </br>For this site to work you have to enable JavaScript.</div>
|
2020-10-15 07:38:49 +00:00
|
|
|
</noscript>
|
2019-11-12 13:37:48 +00:00
|
|
|
<!--#include virtual="body.html" -->
|
2021-06-10 12:48:44 +00:00
|
|
|
<div id="react" role="main"></div>
|
2013-12-16 11:22:23 +00:00
|
|
|
</body>
|
|
|
|
</html>
|