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: add config for forcing touch ui #61

Merged
merged 2 commits into from
Nov 28, 2017
Merged

feat: add config for forcing touch ui #61

merged 2 commits into from
Nov 28, 2017

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Nov 27, 2017

Description of the Changes

consider ui.forceTouchUI config to force the player ui like on touch device. mainly for the studio.
dependent on kaltura/playkit-js-ui#139

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

this._player = player;
this._logger = getLogger('KalturaPlayer' + Utils.Generator.uniqueId(5));
this._uiManager = new PlaykitUI(this._player, {targetId: targetId, logLevel: playerConfig.logLevel});
let forceTouchUI = playerConfig.ui ? playerConfig.ui.forceTouchUI : false;
Copy link
Contributor

Choose a reason for hiding this comment

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

use const

@dan-ziv dan-ziv merged commit 93898b1 into master Nov 28, 2017
@dan-ziv dan-ziv deleted the force-touch-ui branch November 28, 2017 11:48
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