[ 
https://issues.apache.org/jira/browse/CB-11013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426283#comment-15426283
 ] 

Sergey Shakhnazarov commented on CB-11013:
------------------------------------------

Hello [~websteve], could you please review the proposed solution?
It is to add {{shouldPause}} options.feature, which controls the inappbrowser 
WebView behavior, i.e. it will pause background audio on "shouldPause=yes" (the 
defaults is still "no").
Note that if you have multiple inappbrowser instances and have music playing in 
one of them in the background (for example with "shouldPause=no") then that 
audio will be stopped in case you start playing another audio track in a second 
inappbrowser instance (for example with "shouldPause=yes" and which is not 
hidden).

> 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]

Reply via email to