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

Can not get qualityLevels.length, it is zero. #13

Closed
WeBBLiu opened this issue Feb 10, 2017 · 2 comments
Closed

Can not get qualityLevels.length, it is zero. #13

WeBBLiu opened this issue Feb 10, 2017 · 2 comments

Comments

@WeBBLiu
Copy link

WeBBLiu commented Feb 10, 2017

Hi,
Please look at jsbin, I can not obtain the length of qualitylevels.
Thanks

@forbesjo
Copy link
Contributor

Looks like you'll have to listen to the addqualitylevel event because player.qualityLevels() is not populated yet.
Here's an example
http://jsbin.com/givolim/1/edit?html,console,output

@mjneil I think we should update the README to instruct the proper usage of the plugin

@WeBBLiu
Copy link
Author

WeBBLiu commented Apr 25, 2017

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

2 participants