我最近向Google Play商店提交了一个Android应用,并收到一条消息,表明我的应用已被拒绝。
我不确定是什么问题,也找不到确切的解决方案。
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.
实际上,应用程序逻辑非常简单。
该应用程序只有一个WebView,它只加载带有嵌入式youtube视频的网址。
这是webview显示的链接。
http://www.x17online.com/2015/08/benji_madden_cameron_diaz_are_at_lax_photos_083115#kWESwFbZwGicf9PV.99
因此,我想播放此youtube视频时会出现问题,因此我尝试使用多种方法来解决它,但此问题尚未解决。
请帮帮我!!!
谢谢
我曾经在我的应用程序中遇到过同样的问题。由于违反了YouTube政策,该应用程序被拒绝了。在我的应用程序中,我有一个HTML页面,该页面播放嵌入的YouTube视频。最后,我发现即使屏幕被锁定,该视频也会在后台播放 我错过了onPause()方法来处理它。这就是我的应用被拒绝的原因。因此,为了解决这个问题,
这两个中的任何一个都应该正常工作。
似乎您实施的WebView使视频在关闭应用程序的同时继续播放,这就是所谓的后台播放。
尝试使用videoview而不是在webview中播放视频。