Update ft-video-player.js

This commit is contained in:
Preston 2021-05-16 22:30:03 -04:00
parent e52223c7c5
commit 40abb9f054
1 changed files with 1 additions and 1 deletions

View File

@ -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
})