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-7184): remove setDisableCustomPlaybackForIOS10Plus flag #16

Merged
merged 3 commits into from
Sep 25, 2017

Conversation

dan-ziv
Copy link
Contributor

@dan-ziv dan-ziv commented Sep 20, 2017

Description of the Changes

This flag disables iOS's native fullscreen and causing problems if playinsline not set to true.

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

@dan-ziv dan-ziv requested a review from OrenMe September 20, 2017 08:33
@dan-ziv dan-ziv changed the title fix(FEC-7184): remove custom playback flag fix(FEC-7184): remove setDisableCustomPlaybackForIOS10Plus flag Sep 20, 2017
@dan-ziv dan-ziv self-assigned this Sep 20, 2017
@@ -399,7 +399,6 @@ export default class Ima extends BasePlugin {
this._sdk.settings.setPlayerVersion(VERSION);
this._sdk.settings.setVpaidAllowed(true);
this._sdk.settings.setVpaidMode(this._sdk.ImaSdkSettings.VpaidMode.ENABLED);
this._sdk.settings.setDisableCustomPlaybackForIOS10Plus(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

@dan-ziv if we have playsinline config then this is required, so let's make this somewhere in the form of:
this._sdk.settings.setDisableCustomPlaybackForIOS10Plus(config.playsinline);

need to make sure playback preformance with regards to the user gesture restriction in this case as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@OrenMe
From my checks this flag is not mandatory and IOS10Plus playback works just fine

Copy link
Contributor

Choose a reason for hiding this comment

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

this is what I meant in my comment - if player is set to work inline iOS10 then we need to set this as well, so need to align to player config, and also enable passing other options if we are on the subject, like the vpaidAllowed and vpaidMode.

Copy link
Contributor Author

@dan-ziv dan-ziv Sep 25, 2017

Choose a reason for hiding this comment

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

no need to set this, playsinline on ios10plus works without this flag

@dan-ziv dan-ziv merged commit fa7445d into master Sep 25, 2017
@dan-ziv dan-ziv deleted the FEC-7184 branch September 25, 2017 09:39
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