From ff28e33d743d97d5a3b9bd54cf0bcd158607bfd1 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 4 Nov 2023 22:58:15 +0100 Subject: [PATCH] Set default resolution to 640x400. We used to accept the browser's default, which varied widely between devices. --- static/galene.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/galene.js b/static/galene.js index c0b6769..38aa29d 100644 --- a/static/galene.js +++ b/static/galene.js @@ -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 }; } }