1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 00:25:58 +01:00

Set default resolution to 640x400.

We used to accept the browser's default, which varied widely
between devices.
This commit is contained in:
Juliusz Chroboczek 2023-11-04 22:58:15 +01:00
parent e4682ff283
commit ff28e33d74

View file

@ -1402,6 +1402,9 @@ async function addLocalMedia(localId) {
} else if(settings.blackboardMode) {
video.width = { min: 640, ideal: 1920 };
video.height = { min: 400, ideal: 1080 };
} else {
video.width = { ideal: 640 };
video.height = { ideal: 400 };
}
}