[mirotalksfu] - improve aspect ratio

هذا الالتزام موجود في:
Miroslav Pejic
2021-12-29 14:39:24 +01:00
الأصل e1dbe2e565
التزام b2b32f65a2

عرض الملف

@@ -745,7 +745,9 @@ function handleSelects() {
BtnsAspectRatio.onchange = () => {
setAspectRatio(BtnsAspectRatio.value);
};
BtnsAspectRatio.selectedIndex = '1';
// Video aspect ratio for Mobile device 4:3 on Desktop 16:9
BtnsAspectRatio.selectedIndex = DetectRTC.isMobileDevice ? 0 : 1;
setAspectRatio(BtnsAspectRatio.selectedIndex);
BtnsBarPosition.onchange = () => {
rc.changeBtnsBarPosition(BtnsBarPosition.value);