-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
@@ -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); |
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.
@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
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.
@OrenMe
From my checks this flag is not mandatory and IOS10Plus playback works just fine
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.
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.
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 need to set this, playsinline on ios10plus works without this flag
Description of the Changes
This flag disables iOS's native fullscreen and causing problems if playinsline not set to true.
CheckLists