Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: this.player.qualityLevels is not a function" #124

Closed
tudacoding opened this issue Feb 9, 2021 · 4 comments
Closed

"TypeError: this.player.qualityLevels is not a function" #124

tudacoding opened this issue Feb 9, 2021 · 4 comments

Comments

@tudacoding
Copy link

Description

catch error player.qualityLevels is not a function

I'm using Vuejs and implement video.js for play video hls. I want to change quality of hls video and installed videojs-contrib-quality-levels but still not working. ( Video.js version 7.11.5 has been stabled in my system so i don't want to change version of videoJS ). Any solution? Thanks so much

Environment

"vue": "^2.6.11"
"video.js": "7.11.5"
"videojs-contrib-quality-levels": "^2.0.9",

image

@tudacoding
Copy link
Author

image

@gkatsev
Copy link
Member

gkatsev commented Feb 15, 2021

Has the only change you've made to update to Video.js 7.11? We got a similar report here videojs/video.js#7091

@yougotwill
Copy link

If anyone else has this issue. Might be really obvious but make sure to directly import the package wherever you are using it. i.e. import "videojs-contrib-quality-levels";.

@beedrill
Copy link

beedrill commented Apr 2, 2022

If anyone else has this issue. Might be really obvious but make sure to directly import the package wherever you are using it. i.e. import "videojs-contrib-quality-levels";.

Thanks a lot, that works! Can't believe they didn't include this step in the document...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants