From 40abb9f0542a0dac4a7e3a9c7f7571c2eb34c113 Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 16 May 2021 22:30:03 -0400 Subject: [PATCH] Update ft-video-player.js --- src/renderer/components/ft-video-player/ft-video-player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index a4f6a467..4636efa7 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -966,7 +966,7 @@ export default Vue.extend({ let qualityLabel let bitrate - if (typeof v.adaptiveFormats !== 'undefined' && v.adaptiveFormats > 0) { + if (typeof v.adaptiveFormats !== 'undefined' && v.adaptiveFormats.length > 0) { const adaptiveFormat = v.adaptiveFormats.find((format) => { return format.bitrate === quality.bitrate })