Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
  2. <head>
  3. <!--#include virtual="head.html" -->
  4. <meta charset="utf-8">
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  7. <meta name="theme-color" content="#2A3A4B">
  8. <!--#include virtual="base.html" -->
  9. <link rel="apple-touch-icon" href="images/apple-touch-icon.png">
  10. <link rel="stylesheet" href="css/all.css">
  11. <link rel="manifest" id="manifest-placeholder">
  12. <script>
  13. // Dynamically generate the manifest location URL. It must be served from the document origin, and we may have
  14. // the base pointing to the CDN. This way we can generate a full URL which will bypass the base.
  15. document.querySelector('#manifest-placeholder').setAttribute('href', window.location.origin + '/manifest.json');
  16. document.addEventListener('DOMContentLoaded', () => {
  17. if (!JitsiMeetJS.app) {
  18. return;
  19. }
  20. JitsiMeetJS.app.renderEntryPoint({
  21. Component: JitsiMeetJS.app.entryPoints.APP
  22. })
  23. const isElectron = navigator.userAgent.includes('Electron');
  24. const shouldRegisterWorker = !isElectron && 'serviceWorker' in navigator;
  25. if (shouldRegisterWorker) {
  26. navigator.serviceWorker
  27. .register(window.location.origin + '/pwa-worker.js')
  28. .then(reg => {
  29. console.log('Service worker registered.', reg);
  30. })
  31. .catch(err => {
  32. console.log(err);
  33. });
  34. }
  35. });
  36. </script>
  37. <script>
  38. // IE11 and earlier can be identified via their user agent and be
  39. // redirected to a page that is known to have no newer js syntax.
  40. if (window.navigator.userAgent.match(/(MSIE|Trident)/)) {
  41. var roomName = encodeURIComponent(window.location.pathname);
  42. window.location.href = "static/recommendedBrowsers.html" + "?room=" + roomName;
  43. }
  44. window.indexLoadedTime = window.performance.now();
  45. console.log("(TIME) index.html loaded:\t", indexLoadedTime);
  46. // XXX the code below listeners for errors and displays an error message
  47. // in the document body when any of the required files fails to load.
  48. // The intention is to prevent from displaying broken page.
  49. var criticalFiles = [
  50. "config.js",
  51. "utils.js",
  52. "do_external_connect.js",
  53. "interface_config.js",
  54. "logging_config.js",
  55. "lib-jitsi-meet.min.js",
  56. "app.bundle.min.js",
  57. "all.css"
  58. ];
  59. var loadErrHandler = function(e) {
  60. var target = e.target;
  61. // Error on <script> and <link>(CSS)
  62. // <script> will have .src and <link> .href
  63. var fileRef = (target.src ? target.src : target.href);
  64. if (("SCRIPT" === target.tagName || "LINK" === target.tagName)
  65. && criticalFiles.some(
  66. function(file) { return fileRef.indexOf(file) !== -1 })) {
  67. window.onload = function() {
  68. // The whole complex part below implements page reloads with
  69. // "exponential backoff". The retry attempt is passes as
  70. // "rCounter" query parameter
  71. var href = window.location.href;
  72. var retryMatch = href.match(/.+(\?|&)rCounter=(\d+)/);
  73. var retryCountStr = retryMatch ? retryMatch[2] : "0";
  74. var retryCount = Number.parseInt(retryCountStr);
  75. if (retryMatch == null) {
  76. var separator = href.indexOf("?") === -1 ? "?" : "&";
  77. var hashIdx = href.indexOf("#");
  78. if (hashIdx === -1) {
  79. href += separator + "rCounter=1";
  80. } else {
  81. var hashPart = href.substr(hashIdx);
  82. href = href.substr(0, hashIdx)
  83. + separator + "rCounter=1" + hashPart;
  84. }
  85. } else {
  86. var separator = retryMatch[1];
  87. href = href.replace(
  88. /(\?|&)rCounter=(\d+)/,
  89. separator + "rCounter=" + (retryCount + 1));
  90. }
  91. var delay = Math.pow(2, retryCount) * 2000;
  92. if (isNaN(delay) || delay < 2000 || delay > 60000)
  93. delay = 10000;
  94. var showMoreText = "show more";
  95. var showLessText = "show less";
  96. document.body.innerHTML
  97. = "<div style='"
  98. + "position: absolute;top: 50%;left: 50%;"
  99. + "text-align: center;"
  100. + "font-size: medium;"
  101. + "font-weight: 400;"
  102. + "transform: translate(-50%, -50%)'>"
  103. + "Uh oh! We couldn't fully download everything we needed :("
  104. + "<br/> "
  105. + "We will try again shortly. In the mean time, check for problems with your Internet connection!"
  106. + "<br/><br/> "
  107. + "<div id='moreInfo' style='"
  108. + "display: none;'>" + "Missing " + fileRef
  109. + "<br/><br/></div>"
  110. + "<a id='showMore' style='"
  111. + "text-decoration: underline;"
  112. + "font-size:small;"
  113. + "cursor: pointer'>" + showMoreText + "</a>"
  114. + "&nbsp;&nbsp;&nbsp;"
  115. + "<a id ='reloadLink' style='"
  116. + "text-decoration: underline;"
  117. + "font-size:small;"
  118. + "'>reload now</a>"
  119. + "</div>";
  120. var reloadLink = document.getElementById('reloadLink');
  121. reloadLink.setAttribute('href', href);
  122. var showMoreElem = document.getElementById("showMore");
  123. showMoreElem.addEventListener('click', function () {
  124. var moreInfoElem
  125. = document.getElementById("moreInfo");
  126. if (showMoreElem.innerHTML === showMoreText) {
  127. moreInfoElem.setAttribute(
  128. "style",
  129. "display: block;"
  130. + "color:#FF991F;"
  131. + "font-size:small;"
  132. + "user-select:text;");
  133. showMoreElem.innerHTML = showLessText;
  134. }
  135. else {
  136. moreInfoElem.setAttribute(
  137. "style", "display: none;");
  138. showMoreElem.innerHTML = showMoreText;
  139. }
  140. });
  141. window.setTimeout(
  142. function () { window.location.replace(href); }, delay);
  143. // Call extra handler if defined.
  144. if (typeof postLoadErrorHandler === "function") {
  145. postLoadErrorHandler(fileRef);
  146. }
  147. };
  148. window.removeEventListener(
  149. 'error', loadErrHandler, true /* capture phase */);
  150. }
  151. };
  152. window.addEventListener(
  153. 'error', loadErrHandler, true /* capture phase type of listener */);
  154. </script>
  155. <script><!--#include virtual="/config.js" --></script><!-- adapt to your needs, i.e. set hosts and bosh path -->
  156. <!--#include virtual="connection_optimization/connection_optimization.html" -->
  157. <script src="libs/do_external_connect.min.js?v=1"></script>
  158. <script><!--#include virtual="/interface_config.js" --></script>
  159. <script><!--#include virtual="/logging_config.js" --></script>
  160. <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
  161. <script src="libs/app.bundle.min.js?v=139"></script>
  162. <!--#include virtual="title.html" -->
  163. <!--#include virtual="plugin.head.html" -->
  164. <!--#include virtual="static/welcomePageAdditionalContent.html" -->
  165. <!--#include virtual="static/welcomePageAdditionalCard.html" -->
  166. <!--#include virtual="static/settingsToolbarAdditionalContent.html" -->
  167. </head>
  168. <body>
  169. <noscript aria-hidden="true">
  170. <div>JavaScript is disabled. </br>For this site to work you have to enable JavaScript.</div>
  171. </noscript>
  172. <!--#include virtual="body.html" -->
  173. <div id="react" role="main"></div>
  174. </body>
  175. </html>