From d60dbf3e6fce6c7cd00baef16f0ca98b30b16d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Wed, 21 May 2025 12:24:27 +0200 Subject: [PATCH] fix(UI): Avoid show resolution selector when using remote playback (#8628) --- ui/resolution_selection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/resolution_selection.js b/ui/resolution_selection.js index ec6ca6e58..ee8f3b3e4 100644 --- a/ui/resolution_selection.js +++ b/ui/resolution_selection.js @@ -284,7 +284,8 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu { let tracks = []; // When played with src=, the variant tracks available from // player.getVariantTracks() represent languages, not resolutions. - if (this.player.getLoadMode() != shaka.Player.LoadMode.SRC_EQUALS) { + if (this.player.getLoadMode() != shaka.Player.LoadMode.SRC_EQUALS && + !this.player.isRemotePlayback()) { tracks = this.player.getVariantTracks() || []; }