[ https://issues.apache.org/jira/browse/CB-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543701#comment-15543701 ] Joe Bowser commented on CB-11935: --------------------------------- Are you sure this actually solves that problem? This code will only be executed if you make sure that you don't keep the application running in the background. > Violation of the Prohibited Actions provision of the Content Policy. > -------------------------------------------------------------------- > > Key: CB-11935 > URL: https://issues.apache.org/jira/browse/CB-11935 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: Master > Reporter: Simon Pireyn > > When a page contains a Youtube video, it should be pause when the screen is turned off. > Without this condition the app can be rejected for violation by the Play Store: > {quote} > REASON FOR REJECTION:Violation of the Prohibited Actions provision of the Content Policy. > After a regular review, we have determined that your app enables background playing of YouTube videos, which is a violation of the YouTube API Terms of Service: > "Your API Client will not, and You will not encourage or create functionality for Your users or other third parties to: (8) separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API;" > All submission rejections are tracked. Repeated rejections due to policy violations will result in app suspension, at which point this app will count as a strike against the good standing of your developer account and no longer be available on Google Play. > {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org