2014-08-21 16:42:54 +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>
|
2016-12-02 15:11:06 +00:00
|
|
|
<meta charset="utf-8">
|
2016-06-09 04:51:45 +00:00
|
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
2016-05-20 21:51:37 +00:00
|
|
|
<!--#include virtual="base.html" -->
|
2016-04-01 19:44:25 +00:00
|
|
|
<script>
|
|
|
|
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",
|
2016-11-21 21:08:39 +00:00
|
|
|
"logging_config.js",
|
2016-10-31 15:44:50 +00:00
|
|
|
"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() {
|
|
|
|
document.body.innerHTML
|
|
|
|
= "The application failed to load, missing file: "
|
2016-12-12 21:52:01 +00:00
|
|
|
+ fileRef;
|
|
|
|
|
|
|
|
// 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;
|
|
|
|
|
|
|
|
window.setTimeout(
|
|
|
|
function () { window.location.replace(href); }, delay);
|
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
|
|
|
<script src="utils.js?v=1"></script>
|
|
|
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
2016-03-28 22:42:20 +00:00
|
|
|
<script src="connection_optimization/do_external_connect.js?v=1"></script>
|
2016-08-03 16:52:56 +00:00
|
|
|
<script><!--#include virtual="/interface_config.js" --></script>
|
2016-11-21 21:08:39 +00:00
|
|
|
<script><!--#include virtual="/logging_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" -->
|
2016-12-02 15:11:06 +00:00
|
|
|
<link rel="stylesheet" href="css/all.css">
|
2015-03-30 14:00:23 +00:00
|
|
|
<!--#include virtual="plugin.head.html" -->
|
2013-12-16 11:22:23 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2016-11-23 21:46:46 +00:00
|
|
|
<div id="react"></div>
|
2016-06-10 19:42:17 +00:00
|
|
|
<div id="keyboard-shortcuts" class="keyboard-shortcuts" style="display:none;">
|
|
|
|
<div class="content">
|
2016-10-12 00:08:24 +00:00
|
|
|
<ul id="keyboard-shortcuts-list" class="shortcuts-list">
|
2016-06-10 19:42:17 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-16 11:22:23 +00:00
|
|
|
</body>
|
|
|
|
</html>
|