App removed from Google Play

I created a Ionic app with few embedded youtube videos just to explain the app it self. I do not sell anything in the app and I do not sell youtube videos.
Google Play just sent me an email telling me that the app has been removed from the store.

REASON FOR REMOVAL:Violation of section 4.4 of the Developer Distribution Agreement.

After a regular review, we have determined that your app downloads, monetizes, or otherwise accesses YouTube videos in violation of the YouTube Terms of Service or YouTube API Terms of Service. Accessing content, a product, or service in an unauthorized manner is a violation of the Developer Distribution Agreement, and is not allowed on Google Play.

Is it forbidden to embed youtube videos within the app?
What do you guys suggest to do?
Any help?

Thank you very much!

I’m assuming they have an issue with the way it’s been accessed (I can understand the benefit of not having to stream it). Maybe you could look at their YouTube API and see what is possible/allowed.

Barring that, you best bet would be to embed as an MP4 or native video format without relying on YouTube, if the video (that is yours) must play from the device.

Hope that helps.

Thanks #semoju for your help.
At the moment, as a quick turn around, I removed all videos.

It’s really strange, I have no idea of what violation I did.

Anyone that had a similar experience that can help me understanding something?

Thanks again :slight_smile:

i’m currently developing an app that relies on youtube videos so hopefully we can find a solution :slight_smile:

I’m not able to find any useful information all over the web.

Google just started to review Play Store apps, so it’s something new for everyone I think.

Yeah, never heard of this before either.
It may be a case where they don’t think you own the youtube videos are were trying to pass them off as your own.

Interested in hearing the outcome of this.

Can any one help me understanding what this error trying to say?

D:\Software\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.xml:720: The
following error occurred while executing this line:
D:\Software\adt-bundle-windows-x86_64-20140702\sdk\tools\ant\build.xml:734: Comp
ile failed; see the compiler error output for details.

Total time: 3 seconds

D:\My Work\android\Mandaleshwar\platforms\android\cordova\node_modules\q\q.js:12
throw e;
Error code 1 for command: cmd with args: /s /c "ant debug -f “D:\My Work\android
\Mandaleshwar\platforms\android\build.xml” -Dout.dir=ant-build -Dgen.absolute.di
ERROR building one of the platforms: Error: cmd: Command failed with exit code 8

You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 8
at ChildProcess.whenDone (C:\Users\Yash Photos\AppData\Roaming\npm\node_modu
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess.handle.onexit (childprocess.js:823:5)

I have the same problem when I submit my app to the Play Store. Have you found a solution ?

Sadly I removed the videos.

Email to Google or Play Store to ask more info just left me without any answer.

Apple is way better on this. Even if they are very slow answering questions at least the answer you every time giving you suggestions on how to resolve the issue.
Google just leaves you in blank mode.

Been there! Sigh!!!

Same problem here… The answer I received says the video can’t play when the App is “minimized” and Ionic, by default, continues to play the Youtube audio in the background.

Any idea how to change this?

This works for me:

document.addEventListener("pause", function () { $scope.player.stopVideo(); }, false);

1 Like

Help please , tell me where you want to insert this code ?