Update ft-video-player.js
This commit is contained in:
parent
e52223c7c5
commit
40abb9f054
|
@ -966,7 +966,7 @@ export default Vue.extend({
|
||||||
let qualityLabel
|
let qualityLabel
|
||||||
let bitrate
|
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) => {
|
const adaptiveFormat = v.adaptiveFormats.find((format) => {
|
||||||
return format.bitrate === quality.bitrate
|
return format.bitrate === quality.bitrate
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue