【问题标题】:Android App rejected for Violation of the Prohibited Actions provision of the Content PolicyAndroid 应用因违反内容政策的禁止行为规定而被拒绝
【发布时间】:2015-05-21 09:02:35
【问题描述】:

我在 Youtube 中创建了播放列表,其中包含所有即将上映的泰米尔语电影预告片和

在 AJAX 的帮助下使用下面的 API 访问我的应用中的播放列表。

https://gdata.youtube.com/feed...

获得播放列表后,将电影预告片显示为列表。

当用户点击任何预告片时,我只是在 YouTube IFRAME API 的 WebView 帮助中播放视频。

$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();

但我的应用由于以下原因被 google 拒绝了:

我们已确定您的应用允许后台播放 YouTube 视频,这违反了 YouTube API 服务条款:

我从不显示任何背景视频。

请帮帮我

【问题讨论】:

  • 你做了什么来解决这个问题?

标签: android youtube youtube-api hybrid-mobile-app


【解决方案1】:

似乎您的 WebView 实现使视频在应用程序关闭时继续播放,这就是 background playing 的意思

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-01-28
    • 1970-01-01
    • 1970-01-01
    • 2022-01-02
    • 2019-08-31
    • 1970-01-01
    • 2021-10-01
    • 2020-12-12
    相关资源
    最近更新 更多