Laimonas Naradauskas
Posts: 0
Joined: Tue Apr 14, 2015 12:44 pm

Android App rejected of Youtube background stream

Hello,

My app is configured to visit a website on a button click which launches an internal browser within the app to display the page. Now this is all great for me although once this is submit to the android marketplace the app has been rejected of the following:
Your submission has been rejected for enabling background playing of YouTube videos in violation of the YouTube API Terms of Service. If this submission was an update to an existing app, the version published prior to this update is still available in Google Play. Please modify your app and resubmit.

Could you please investigate this and advice on what should be implemented in order to bypass this issue? I need to launch the website with an external browser and pause the app in order to get around this issue.

Thanks,
Kind Regards,
Laimonas

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Android App rejected of Youtube background stream

Hello Laimonas,

We are sorry, but unfortunately custom app logic and reasons why your app was declined by Google Market are outside of the scope of our support. You may search for this rejection online and contact google support.

Laimonas Naradauskas
Posts: 0
Joined: Tue Apr 14, 2015 12:44 pm

Android App rejected of Youtube background stream

Hi Engene, thanks for the reply. The reason why the app was rejected is that some objects have been set up to go to an external URL which consisted of youtube videos. The problem that I am facing is that the inside browser which is launched as you set up an event to go to an url is within the app itself and does not launch an external browser to go outside of the app and just launch a webpage.

Is this something that you could advice on?

Thanks,
Kind Regards,
Laimonas

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Android App rejected of Youtube background stream

Hello Laimonas,

Please follow this tutorial: https://devcenter.appery.io/documenta...

Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

Android App rejected of Youtube background stream

Hi Sergiy, this link is broken...do you have an updated one?

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Android App rejected of Youtube background stream

Hello Paul,

Please follow these steps:

  1. Place an HTML component on the page.

  2. In PROPERTIES, set Dimensions to auto and auto.

  3. Set the ClassName property to htmlOtherSite.

  4. Click Edit HTML and switch to HTML Source. Add the following code:

    code<iframe src="https:&#47;&#47;appery&#46;io/" width="100%" height="100%"></iframe>/code

    Change https://appery.io/ to the site that should be wrapped.

  5. Create a new CSS and add the following code:

    codediv div&#46;htmlOtherSite{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 54px;
    bottom: 54px;
    overflow: visible;
    }/code

  6. Test the application. You will see the wrapped content.

Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

Android App rejected of Youtube background stream

Hi Galyna,

OK so my app has been rejected for the same reasons laid out as above,

"enabling background play of youtube videos. For example, YouTube videos still play after the "home" button has been hit.".

I have not done anything out of the ordinary or unique with the videos in the build. Simply dragged in Youtube UI Component and inserted a Video ID in the properties panel.

Therefore can you please inform me which extra steps I need to take to stop the background play of the youtube video?

best

paul

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Android App rejected of Youtube background stream

Hello Paul,

Please use JS below to stop youtube video:
pre$("&#46;html5-video-player")&#46;stopVideo();/pre

You have to run that code before navigation to the next page

Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

Android App rejected of Youtube background stream

Thanks Sergiy!

Paul Medawar
Posts: 0
Joined: Thu Apr 03, 2014 10:55 am

Android App rejected of Youtube background stream

I'm getting the following error

VM11383:296 Uncaught TypeError: $(...).stopVideo is not a function(...)

Return to “Issues”