Reputation: 247
I recently submitted an Android app to Google Play Store and got a message that my app has rejected. I am not sure what the problem is and couldn't find an exact solution.
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.
Actually,the app logic is very simple. The app has the only one WebView and it just loads a url with embedded youtube videos.
Here is a link that the webview shows. http://www.x17online.com/2015/08/benji_madden_cameron_diaz_are_at_lax_photos_083115#kWESwFbZwGicf9PV.99
So I guess there is a problem when playing this youtube videos, so I tried to use several methods to solve it but it isn't fixed.
Please help me out!!! Thanks
Upvotes: 3
Views: 7307
Reputation: 5451
Seems that your implementation of the WebView makes the video continue playing while the app is closed, this is what they mean by background playing.
Try to use videoview instead of playing videos in webview.
Upvotes: 0
Reputation: 3212
I have encountered the same issue in my app once.It got rejected because of YouTube policy violation issue.In my app,i had an HTML page which plays embedded YouTube videos.Finally i found that the video plays in background even though screen is locked.I missed onPause() method to handle it.That was the reason why my app got rejected.So in order to fix this,
Either one of these two should work.All the best.
Upvotes: 7