[mirotalksfu] - #112 fix typo add comments
هذا الالتزام موجود في:
@@ -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
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم