Use jitsi-lobby in video channel
Signed-off-by: Timo K <toger5@hotmail.de>pull/26879/head
parent
cc6b519d98
commit
03cf7ca698
|
@ -294,7 +294,7 @@ function toggleConferenceVisibility(inConference: boolean): void {
|
||||||
document.getElementById("jitsiContainer")!.style.visibility = inConference ? "unset" : "hidden";
|
document.getElementById("jitsiContainer")!.style.visibility = inConference ? "unset" : "hidden";
|
||||||
// Video rooms have a separate UI for joining, so they should never show our join button
|
// Video rooms have a separate UI for joining, so they should never show our join button
|
||||||
document.getElementById("joinButtonContainer")!.style.visibility =
|
document.getElementById("joinButtonContainer")!.style.visibility =
|
||||||
inConference || isVideoChannel ? "hidden" : "unset";
|
inConference ? "hidden" : "unset";
|
||||||
}
|
}
|
||||||
|
|
||||||
function skipToJitsiSplashScreen(): void {
|
function skipToJitsiSplashScreen(): void {
|
||||||
|
@ -452,7 +452,7 @@ async function joinConference(audioInput?: string | null, videoInput?: string |
|
||||||
if (isVideoChannel) {
|
if (isVideoChannel) {
|
||||||
// Ensure that we skip Jitsi Meet's native prejoin screen, for
|
// Ensure that we skip Jitsi Meet's native prejoin screen, for
|
||||||
// deployments that have it enabled
|
// deployments that have it enabled
|
||||||
options.configOverwrite!.prejoinConfig = { enabled: false };
|
options.configOverwrite!.prejoinConfig = { enabled: true };
|
||||||
// Use a simplified set of toolbar buttons
|
// Use a simplified set of toolbar buttons
|
||||||
options.configOverwrite!.toolbarButtons = ["microphone", "camera", "tileview", "hangup"];
|
options.configOverwrite!.toolbarButtons = ["microphone", "camera", "tileview", "hangup"];
|
||||||
// Note: We can hide the screenshare button in video rooms but not in
|
// Note: We can hide the screenshare button in video rooms but not in
|
||||||
|
|
Loading…
Reference in New Issue