Remove undefined audio only quality from quality list
This commit is contained in:
parent
125369c3d4
commit
1af39b935e
@ -79,6 +79,12 @@ export const createQualitySelector = (player: any) => {
|
||||
}
|
||||
})
|
||||
|
||||
// remove audio only
|
||||
const audioOnlyQuality = formatedQualities[formatedQualities.length-1]
|
||||
if (audioOnlyQuality.name === "undefinedp") {
|
||||
formatedQualities.splice(formatedQualities.length-1, 1)
|
||||
}
|
||||
|
||||
formattedLevels.push(formatedQualities)
|
||||
updateLevels()
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user