[mirotalksfu] - #112 fix typo add comments

هذا الالتزام موجود في:
Miroslav Pejic
2023-07-29 13:47:33 +02:00
الأصل 8b465d9962
التزام 755658e2e6
2 ملفات معدلة مع 6 إضافات و14 حذوفات

عرض الملف

@@ -16,11 +16,11 @@ class LocalStorage {
};
this.SFU_SETTINGS = {
video_obj_fit: 2,
video_controls: 0,
theme: 0,
buttons_bar: 0,
pin_grid: 0,
video_obj_fit: 2, // cover
video_controls: 0, // off
theme: 0, // dark
buttons_bar: 0, // vertical
pin_grid: 0, // vertical
};
this.DEVICES_COUNT = {

عرض الملف

@@ -57,15 +57,7 @@ const swalImageUrl = '../images/pricing-illustration.svg';
const lS = new LocalStorage();
// Get Settings from localStorage
const localStorageSettings = lS.getObjectLocalStorage('SFU_SETTINGS');
const lsSettings = localStorageSettings
? localStorageSettings
: {
video_obj_fit: 2, // cover
video_controls: BtnVideoControls.selectedIndex,
theme: selectTheme.selectedIndex,
buttons_bar: BtnsBarPosition.selectedIndex,
pin_grid: pinVideoPosition.selectedIndex,
};
const lsSettings = localStorageSettings ? localStorageSettings : lS.SFU_SETTINGS;
// ####################################################
// DYNAMIC SETTINGS