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

fix(FEC-8382): stereo icon displayed on iPhone, even if VR plugin disabled #144

Merged
merged 1 commit into from
Jul 5, 2018

Conversation

yairans
Copy link
Contributor

@yairans yairans commented Jul 5, 2018

Description of the Changes

check vr plugin exists and not disable before handling it

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

@yairans yairans self-assigned this Jul 5, 2018
@yairans yairans changed the title fix(FEC-8382): stereos icon displayed on iPhone, even if VR plugin di… fix(FEC-8382): stereos icon displayed on iPhone, even if VR plugin disabled Jul 5, 2018
@yairans yairans changed the title fix(FEC-8382): stereos icon displayed on iPhone, even if VR plugin disabled fix(FEC-8382): stereo icon displayed on iPhone, even if VR plugin disabled Jul 5, 2018
_handleVr(config: ?PKPluginsConfigObject): void {
if (config) {
_handleVr(config: PKPluginsConfigObject = {}): void {
if (config.vr && !config.vr.disable) {
Copy link
Contributor Author

@yairans yairans Jul 5, 2018

Choose a reason for hiding this comment

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

Actually, I would like to be sure the plugin is active (maybe its bundle non exist at all?)
But this info is unavailable in kalturaPlayer yet.
That's means, if vr plugin configured and not disabled, the vr button will display in the control bar even the plugin is inactive.

@yairans yairans merged commit 116cc9f into master Jul 5, 2018
@yairans yairans deleted the FEC-8382 branch July 5, 2018 10:28
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