-
Notifications
You must be signed in to change notification settings - Fork 52
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
feat(kaltura player): export setup method #2
Conversation
src/create.js
Outdated
let provider = new OvpProvider(config.partnerId); | ||
return provider.getConfig(config.entryID) | ||
.then(data => { | ||
player.configure(data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently don't pass the config
data we pass to create
method to the playkit.configure
, which can contain player config as well as config to the provider.
Need to handle the entire config object that we defined for playkit
src/index.js
Outdated
// TODO: Import plugins | ||
|
||
export {Playkit, OvpProvider, PlaykitUI}; | ||
export {Playkit, OvpProvider, PlaykitUI, create}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.