[mirotalksfu] - fix typo, update dep.
هذا الالتزام موجود في:
@@ -833,10 +833,10 @@ function roomIsReady() {
|
||||
BUTTONS.settings.lobbyButton && show(lobbyButton);
|
||||
BUTTONS.main.aboutButton && show(aboutButton);
|
||||
if (!DetectRTC.isMobileDevice) show(pinUnpinGridDiv);
|
||||
loadSettings();
|
||||
handleButtons();
|
||||
handleSelects();
|
||||
handleInputs();
|
||||
loadSettingsFromLocalStorage();
|
||||
startSessionTimer();
|
||||
document.body.addEventListener('mousemove', (e) => {
|
||||
showButtons();
|
||||
@@ -917,21 +917,6 @@ function stopRecordingTimer() {
|
||||
clearInterval(recTimer);
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// LOAD SETTINGS
|
||||
// ####################################################
|
||||
|
||||
function loadSettings() {
|
||||
BtnVideoObjectFit.selectedIndex = lsSettings.video_obj_fit;
|
||||
BtnVideoControls.selectedIndex = lsSettings.video_controls;
|
||||
BtnsBarPosition.selectedIndex = lsSettings.buttons_bar;
|
||||
pinVideoPosition.selectedIndex = lsSettings.pin_grid;
|
||||
rc.handleVideoObjectFit(BtnVideoObjectFit.value);
|
||||
rc.handleVideoControls(BtnVideoControls.value);
|
||||
rc.changeBtnsBarPosition(BtnsBarPosition.value);
|
||||
rc.togglePin(pinVideoPosition.value);
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// HTML BUTTONS
|
||||
// ####################################################
|
||||
@@ -1460,6 +1445,21 @@ function handleInputs() {
|
||||
}
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// LOAD SETTINGS FROM LOCAL STORAGE
|
||||
// ####################################################
|
||||
|
||||
function loadSettingsFromLocalStorage() {
|
||||
BtnVideoObjectFit.selectedIndex = lsSettings.video_obj_fit;
|
||||
BtnVideoControls.selectedIndex = lsSettings.video_controls;
|
||||
BtnsBarPosition.selectedIndex = lsSettings.buttons_bar;
|
||||
pinVideoPosition.selectedIndex = lsSettings.pin_grid;
|
||||
rc.handleVideoObjectFit(BtnVideoObjectFit.value);
|
||||
rc.handleVideoControls(BtnVideoControls.value);
|
||||
rc.changeBtnsBarPosition(BtnsBarPosition.value);
|
||||
rc.togglePin(pinVideoPosition.value);
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// ROOM CLIENT EVENT LISTNERS
|
||||
// ####################################################
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم