62 lines
2.7 KiB
HTML
62 lines
2.7 KiB
HTML
<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="content-type" content="text/html;charset=utf-8">
|
|
<!--#include virtual="base.html" -->
|
|
<script>
|
|
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",
|
|
"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: "
|
|
+ fileRef;
|
|
};
|
|
window.removeEventListener(
|
|
'error', loadErrHandler, true /* capture phase */);
|
|
}
|
|
};
|
|
window.addEventListener(
|
|
'error', loadErrHandler, true /* capture phase type of listener */);
|
|
</script>
|
|
<script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
|
|
<script src="utils.js?v=1"></script>
|
|
<!--#include virtual="connection_optimization/connection_optimization.html" -->
|
|
<script src="connection_optimization/do_external_connect.js?v=1"></script>
|
|
<script><!--#include virtual="/interface_config.js" --></script>
|
|
<script src="libs/lib-jitsi-meet.min.js?v=139"></script>
|
|
<script src="libs/app.bundle.min.js?v=139"></script>
|
|
<!--#include virtual="title.html" -->
|
|
<link rel="stylesheet" href="css/all.css"/>
|
|
<!--#include virtual="plugin.head.html" -->
|
|
</head>
|
|
<body>
|
|
<div id="react"></div>
|
|
<div id="keyboard-shortcuts" class="keyboard-shortcuts" style="display:none;">
|
|
<div class="content">
|
|
<ul id="keyboard-shortcuts-list" class="shortcuts-list">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|