diff --git a/src/assets/qualitySelector.ts b/src/assets/qualitySelector.ts index 5f1ba0a..cdb8cec 100644 --- a/src/assets/qualitySelector.ts +++ b/src/assets/qualitySelector.ts @@ -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() })