You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prejoin.html 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <html xmlns="http://www.w3.org/1999/html">
  2. <head>
  3. <meta charset="utf-8">
  4. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <!--#include virtual="/base.html" -->
  7. <link rel="stylesheet" href="css/all.css">
  8. <script>
  9. document.addEventListener('DOMContentLoaded', () => {
  10. if (!JitsiMeetJS.app) {
  11. return;
  12. }
  13. const url = new URL(window.location.href);
  14. const params = new URLSearchParams(url.search);
  15. const showAvatar = params.get('showAvatar') === 'true';
  16. const showJoinActions = params.get('showJoinActions') === 'true';
  17. const showSkipPrejoin = params.get('showSkipPrejoin') === 'true';
  18. const css = params.get('style');
  19. const style = document.createElement('style');
  20. style.appendChild(document.createTextNode(css));
  21. document.head.appendChild(style);
  22. JitsiMeetJS.app.renderEntryPoint({
  23. Component: JitsiMeetJS.app.entryPoints.PREJOIN,
  24. props: {
  25. showAvatar,
  26. showJoinActions,
  27. showSkipPrejoin
  28. }
  29. })
  30. })
  31. </script>
  32. <!--#include virtual="/title.html" -->
  33. <script><!--#include virtual="/config.js" --></script>
  34. <script><!--#include virtual="/interface_config.js" --></script>
  35. <script src="libs/lib-jitsi-meet.min.js"></script>
  36. <script src="libs/app.bundle.min.js"></script>
  37. </head>
  38. <body>
  39. <div id="react"></div>
  40. </body>
  41. </html>