问题描述
在YouTube被我正在创建的播放列表,其中包含了所有即将泰米尔电影预告片以及
Just i'm created playlist in Youtube which contains the all upcoming tamil movies trailers and
访问,在我的应用程序使用的播放列表下方API与AJAX的帮助。
accessing that playlists in my app using below API with help of AJAX.
...
一旦我的播放列表,显示电影预告片的名单。
Once i got the playlist,displaying the movie trailers as list.
当用户点击任何拖车,只是我行走的视频在YouTube的IFRAME的API的WebView帮助。
When user click any trailer, just I'm plying the video in WebView help of YouTube IFRAME API.
$ scope.playVideo =功能(){
$scope.playVideo = function() {
if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') {
window.onYouTubePlayerAPIReady = function() {
$scope.loadPlayer();
};
} else {
$scope.loadPlayer();
}
};
$scope.loadPlayer = function() {
$scope.player = new YT.Player('TTvideo', {
height: '100%',
width: '100%',
videoId: $scope.vId,
playerVars: {
'controls': 1,
'autohide': 1,
'rel': 0,
'showinfo': 0
},
events: {
'onReady': function() {
AppItem.stopLoader();
}
}
});
};
if ($scope.player && $scope.player.d && typeof $scope.player.destroy === 'function') {
$scope.player.destroy();
}
$scope.playVideo();
但我的应用程序被拒绝,因为以下原因由谷歌:
But my app rejected because of below reason by google:
我们认为您的应用允许的后台播放YouTube视频,这是违反了YouTube API服务条款:
we have determined that your app enables background playing of YouTube videos, which is a violation of the YouTube API Terms of Service:
我从来没有显示任何背景视频。
I never displaying any background video.
请帮我
推荐答案
看来你的web视图的实施,使得视频继续播放而应用程序是封闭的,这就是他们的意思后台播放
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
这篇关于Android应用程序拒绝了禁止行为规定的内容政策违反的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!