Hi, I updated the player version. And I had a mistake.
constructor(player: Player, options: Options) {
super(player, options)
this.options = options
const qualityLevels = player.qualityLevels()
this.quality = []
qualityLevels.on('addqualitylevel', event => {
this.quality.push(event.qualityLevel)
this.update()
})
}```
Error:
`player.qualityLevels() undefined`
I can not find the cause of the problem. help me please
Hi, I updated the player version. And I had a mistake.