[mirotalksfu] - #112 fix typo add comments
هذا الالتزام موجود في:
@@ -16,11 +16,11 @@ class LocalStorage {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.SFU_SETTINGS = {
|
this.SFU_SETTINGS = {
|
||||||
video_obj_fit: 2,
|
video_obj_fit: 2, // cover
|
||||||
video_controls: 0,
|
video_controls: 0, // off
|
||||||
theme: 0,
|
theme: 0, // dark
|
||||||
buttons_bar: 0,
|
buttons_bar: 0, // vertical
|
||||||
pin_grid: 0,
|
pin_grid: 0, // vertical
|
||||||
};
|
};
|
||||||
|
|
||||||
this.DEVICES_COUNT = {
|
this.DEVICES_COUNT = {
|
||||||
|
|||||||
@@ -57,15 +57,7 @@ const swalImageUrl = '../images/pricing-illustration.svg';
|
|||||||
const lS = new LocalStorage();
|
const lS = new LocalStorage();
|
||||||
// Get Settings from localStorage
|
// Get Settings from localStorage
|
||||||
const localStorageSettings = lS.getObjectLocalStorage('SFU_SETTINGS');
|
const localStorageSettings = lS.getObjectLocalStorage('SFU_SETTINGS');
|
||||||
const lsSettings = localStorageSettings
|
const lsSettings = localStorageSettings ? localStorageSettings : lS.SFU_SETTINGS;
|
||||||
? localStorageSettings
|
|
||||||
: {
|
|
||||||
video_obj_fit: 2, // cover
|
|
||||||
video_controls: BtnVideoControls.selectedIndex,
|
|
||||||
theme: selectTheme.selectedIndex,
|
|
||||||
buttons_bar: BtnsBarPosition.selectedIndex,
|
|
||||||
pin_grid: pinVideoPosition.selectedIndex,
|
|
||||||
};
|
|
||||||
|
|
||||||
// ####################################################
|
// ####################################################
|
||||||
// DYNAMIC SETTINGS
|
// DYNAMIC SETTINGS
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم