Android app was rejected for violation of prohibited activities in content policy

I just created a Youtube playlist that contains all the upcoming tamil movies trailers and

accessing these playlists in my app using the API below using AJAX.

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

Once I got the playlist, displaying the movie trailers as a list.

When the user clicks on any trailer, I just link the video in the YouTube IFRAME API's WebView API.

$ 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 was rejected due to google causality:

We have determined that your application allows background playback of YouTube videos, which is in violation of the YouTube API Terms of Service:

I never show a background video.

Please help me

0


source to share


1 answer


Your WebView implementation seems to force the video to keep playing when the app is closed, this is what they mean background playing



0


source







All Articles