From 8ff604c7e300eec5c0b29644292d6399521a1930 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 29 Jan 2020 14:22:32 +0100 Subject: Fix wrong audio only resolution label for hls --- client/src/assets/player/videojs-components/resolution-menu-button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/assets/player') diff --git a/client/src/assets/player/videojs-components/resolution-menu-button.ts b/client/src/assets/player/videojs-components/resolution-menu-button.ts index 86be03af7..2de3ece19 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-button.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-button.ts @@ -75,7 +75,7 @@ class ResolutionMenuButton extends MenuButton { // Skip auto resolution, we'll add it ourselves if (d.id === -1) continue - const label = d.id === 0 + const label = d.label === '0p' ? this.player.localize('Audio-only') : d.label -- cgit v1.2.3