[mirotalksfu] - make more customizable
هذا الالتزام موجود في:
@@ -645,17 +645,24 @@ function roomIsReady() {
|
|||||||
setTheme('dark');
|
setTheme('dark');
|
||||||
BUTTONS.main.exitButton && show(exitButton);
|
BUTTONS.main.exitButton && show(exitButton);
|
||||||
BUTTONS.main.shareButton && show(shareButton);
|
BUTTONS.main.shareButton && show(shareButton);
|
||||||
show(startRecButton);
|
if (BUTTONS.settings.tabRecording) {
|
||||||
|
show(startRecButton);
|
||||||
|
} else {
|
||||||
|
hide(tabRecordingBtn);
|
||||||
|
}
|
||||||
BUTTONS.main.chatButton && show(chatButton);
|
BUTTONS.main.chatButton && show(chatButton);
|
||||||
|
!BUTTONS.chat.chatSaveButton && hide(chatSaveButton);
|
||||||
|
BUTTONS.chat.chatEmojiButton && show(chatEmojiButton);
|
||||||
|
BUTTONS.chat.chatMarkdownButton && show(chatMarkdownButton);
|
||||||
|
BUTTONS.chat.chatShareFileButton && show(chatShareFileButton);
|
||||||
|
if (isWebkitSpeechRecognitionSupported && BUTTONS.chat.chatSpeechStartButton) {
|
||||||
|
show(chatSpeechStartButton);
|
||||||
|
} else {
|
||||||
|
BUTTONS.chat.chatSpeechStartButton = false;
|
||||||
|
}
|
||||||
show(chatCleanTextButton);
|
show(chatCleanTextButton);
|
||||||
show(chatPasteButton);
|
show(chatPasteButton);
|
||||||
show(chatSendButton);
|
show(chatSendButton);
|
||||||
show(chatEmojiButton);
|
|
||||||
show(chatMarkdownButton);
|
|
||||||
show(chatShareFileButton);
|
|
||||||
if (isWebkitSpeechRecognitionSupported) {
|
|
||||||
show(chatSpeechStartButton);
|
|
||||||
}
|
|
||||||
if (DetectRTC.isMobileDevice && BUTTONS.main.swapCameraButton) {
|
if (DetectRTC.isMobileDevice && BUTTONS.main.swapCameraButton) {
|
||||||
show(swapCameraButton);
|
show(swapCameraButton);
|
||||||
setChatSize();
|
setChatSize();
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ const BUTTONS = {
|
|||||||
unlockRoomButton: true,
|
unlockRoomButton: true,
|
||||||
lobbyButton: true,
|
lobbyButton: true,
|
||||||
participantsButton: true,
|
participantsButton: true,
|
||||||
|
tabRecording: true,
|
||||||
},
|
},
|
||||||
producerVideo: {
|
producerVideo: {
|
||||||
fullScreenButton: true,
|
fullScreenButton: true,
|
||||||
@@ -51,6 +52,13 @@ const BUTTONS = {
|
|||||||
audioVolumeInput: true,
|
audioVolumeInput: true,
|
||||||
ejectButton: true,
|
ejectButton: true,
|
||||||
},
|
},
|
||||||
|
chat: {
|
||||||
|
chatSaveButton: true,
|
||||||
|
chatEmojiButton: true,
|
||||||
|
chatMarkdownButton: true,
|
||||||
|
chatShareFileButton: true,
|
||||||
|
chatSpeechStartButton: true,
|
||||||
|
},
|
||||||
//...
|
//...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم