From 37e9658d5133ab3881784ee2610738b93b09bf22 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Mon, 10 Nov 2025 21:38:36 -0500 Subject: [PATCH] Livestream media handler now dynamically resizes UX to aspect ratio on media change. --- www/js/channel/mediaHandler.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/js/channel/mediaHandler.js b/www/js/channel/mediaHandler.js index 3dd11ae..158e5cb 100644 --- a/www/js/channel/mediaHandler.js +++ b/www/js/channel/mediaHandler.js @@ -907,6 +907,10 @@ class hlsLiveStreamHandler extends hlsBase{ return; } + //Resize chat box to video aspect, since this is the only event thats reliably called on ratio change + //Re-enforcing UX rules a little more often shouldnt cause too many issues anywho. + this.client.chatBox.resizeAspect(); + //Calculate distance to end of stream const difference = this.video.duration - this.video.currentTime;