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

feat: support server side config #65

Merged
merged 4 commits into from
Dec 10, 2017
Merged

feat: support server side config #65

merged 4 commits into from
Dec 10, 2017

Conversation

OrenMe
Copy link
Contributor

@OrenMe OrenMe commented Dec 3, 2017

Description of the Changes

server embed action returns a UIConf object on a global __kalturaplayerdata object, use it as default for player if exist.
client side settings still get precedence over server side config

CheckLists

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • test are passing in local environment
  • Travis tests are passing (or test results are not worse than on master branch :))
  • Docs have been updated

server embed action returns a UIConf object on a global __kalturaplayerdata object, use it as default for player if exist.
clinet side settings still get precedence over server side config
@OrenMe OrenMe self-assigned this Dec 3, 2017
@OrenMe OrenMe requested a review from yairans December 3, 2017 19:30
@@ -46,12 +46,15 @@ function validateTargetId(targetId: string) {
*/
function extractPlayerConfig(config: ?Object): Object {
let playerConfig = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const (deletable) also in extractProvidersConfig below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@OrenMe OrenMe merged commit 2f75dd4 into master Dec 10, 2017
@OrenMe OrenMe deleted the serverSideConfig branch December 10, 2017 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants