[
https://issues.apache.org/jira/browse/CB-11013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426535#comment-15426535
]
ASF GitHub Bot commented on CB-11013:
-------------------------------------
Github user vladimir-kotikov commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-inappbrowser/pull/179#discussion_r75316561
--- Diff: README.md ---
@@ -109,6 +109,7 @@ instance, or the system browser.
- __zoom__: set to `yes` to show Android browser's zoom controls, set
to `no` to hide them. Default value is `yes`.
- __hardwareback__: set to `yes` to use the hardware back button to
navigate backwards through the `InAppBrowser`'s history. If there is no
previous page, the `InAppBrowser` will close. The default value is `yes`, so
you must set it to `no` if you want the back button to simply close the
InAppBrowser.
- __mediaPlaybackRequiresUserAction__: Set to `yes` to prevent HTML5
audio or video from autoplaying (defaults to `no`).
+ - __shouldPause__: Set to `yes` to make InAppBrowser WebView to
pause/resume with the app to stop background audio (this may be required to
avoid Google Play issues like described in
[CB-11013](https://issues.apache.org/jira/browse/CB-11013)).
--- End diff --
I would propose to change name to something a bit more descriptive. What
about 'shouldPauseOnSuspend' or 'mediaPlaybackStopsOnSuspend' (aligned w/
feature above)? Thoughts?
> IAB enabling background play of YouTube videos?
> -----------------------------------------------
>
> Key: CB-11013
> URL: https://issues.apache.org/jira/browse/CB-11013
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin InAppBrowser
> Affects Versions: 3.5.0
> Environment: android OS
> Reporter: Steve Husting
> Assignee: Sergey Shakhnazarov
> Labels: Android, triaged
>
> Google Play send me an email, saying, "Make sure your app doesn’t access or
> use a service or API in a manner that violates its terms of service, for
> example, by enabling background play of YouTube videos." My app uses IAB
> extensively to play videos from YouTube. In some way it is violating the
> terms of service by playing the videos through IAB. Please examine and fix
> this bug so it no longer violates the rules.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]