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

i can not use this plugin #140

Open
neronsilence opened this issue May 21, 2018 · 1 comment
Open

i can not use this plugin #140

neronsilence opened this issue May 21, 2018 · 1 comment

Comments

@neronsilence
Copy link

hello, at first thanks for this plugin
i can not use this plugin because i can not using setQualities function

please write an little article for usage

i put that code;

<script src="clappr-quality-selection-plugin.js"></script>

and after

var player = new Clappr.Player({ sources: sources, ... **plugins: { "core": [ClapprQualitySelectionPlugin], }** ... });

and what do I have to do now ? i see an function "setQualities" but i can not use this function

help please

@tjenkinson
Copy link
Member

tjenkinson commented Jun 9, 2018

Sorry for taking so long to reply. The documentation isn't great and this was built specifically for our use case.

Each quality is just an object with properties 'id' and 'name'.

You can see how we use it here

There are also a few comments on the methods in https://github.com/LA1TV/clappr-quality-selection-plugin/blob/master/src/index.js

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