Merge branch 'release/2.1.0' into develop
authorChocobozzz <me@florianbigard.com>
Wed, 29 Jan 2020 13:23:20 +0000 (14:23 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 29 Jan 2020 13:23:20 +0000 (14:23 +0100)
client/src/assets/player/videojs-components/resolution-menu-button.ts

index af044a9e5aeb78fd8c6656ddf1568b701e1c3f7f..0fa6272e7bcf8ac2183efa6e32f252760f8c9bb7 100644 (file)
@@ -72,7 +72,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