fix(prejoin) fix libs path

This commit is contained in:
Tudor-Ovidiu Avram 2020-07-23 13:04:01 +03:00 committed by Saúl Ibarra Corretgé
parent b1e12d33ab
commit 1ae5630590
1 changed files with 7 additions and 5 deletions

View File

@ -15,6 +15,7 @@
const params = new URLSearchParams(url.search); const params = new URLSearchParams(url.search);
const showAvatar = params.get('showAvatar') === 'true'; const showAvatar = params.get('showAvatar') === 'true';
const showJoinActions = params.get('showJoinActions') === 'true'; const showJoinActions = params.get('showJoinActions') === 'true';
const showSkipPrejoin = params.get('showSkipPrejoin') === 'true';
const css = params.get('style'); const css = params.get('style');
const style = document.createElement('style'); const style = document.createElement('style');
style.appendChild(document.createTextNode(css)); style.appendChild(document.createTextNode(css));
@ -24,16 +25,17 @@
Component: JitsiMeetJS.app.entryPoints.PREJOIN, Component: JitsiMeetJS.app.entryPoints.PREJOIN,
props: { props: {
showAvatar, showAvatar,
showJoinActions showJoinActions,
showSkipPrejoin
} }
}) })
}) })
</script> </script>
<!--#include virtual="/title.html" --> <!--#include virtual="/title.html" -->
<script>var config = {}</script><!-- adapt to your needs, i.e. set hosts and bosh path --> <script><!--#include virtual="/config.js" --></script>
<script>var interfaceConfig = {}</script> <script><!--#include virtual="/interface_config.js" --></script>
<script src="../libs/lib-jitsi-meet.min.js?v=139"></script> <script src="libs/lib-jitsi-meet.min.js?v=139"></script>
<script src="../libs/app.bundle.min.js?v=139"></script> <script src="libs/app.bundle.min.js?v=139"></script>
</head> </head>
<body> <body>
<div id="react"></div> <div id="react"></div>