Display Youtube videos inside the App

Hello all,

Google is rejecting my Apps from the Google Play because the youtube videos inside the app are displayed in a webview. Here is the detailed message they’ve sent to me:

 

This is a notification that your application submission, has been
rejected. If this submission was an update to an existing app, the version
published prior to this update is still available on Google Play.

Please address the issue described below, then submit an update with your
changes.

REASON FOR REJECTION:Violation of the Prohibited Actions provision of the
Content Policy.

After a regular review, we have determined that your app enables
background playing of YouTube videos, which is a violation of the YouTube
API Terms of Service:

“Your API Client will not, and You will not encourage or create
functionality for Your users or other third parties to: (8) separate,
isolate, or modify the audio or video components of any YouTube
audiovisual content made available through the YouTube API;”

All submission rejections are tracked. Repeated rejections due to policy
violations will result in app suspension, at which point this app will
count as a strike against the good standing of your developer account and
no longer be available on Google Play.

This notification also serves as notice for other apps in your catalog.
You can avoid future submission rejections and/or app suspensions by
immediately ensuring that no other apps in your catalog are in violation
of (but not limited to) the above policy. Before publishing applications,
please ensure your apps’ compliance with the Developer Distribution
Agreement and Content Policy.

If you feel we have made this determination in error, you can visit this
Google Play Help Center article.

The Google Play Team

If I’m right, media.playVideo() docs.worona.com/media/playvideo doesn’t work with youtube videos. Is there a solution? 

Thanks

Can you tell us more about how you’re trying to use a webview for this?  Google allows embedded videos in web browsers.  I don’t see why they would reject you using their provided embed code in a webview.

Corona SDK does not offer any other way to play YouTube videos.  You might be able to do an alternative in Corona Enterprise.

Rob

The App displays a webview with content, inside that content sometimes there are youtube links, when you press the youtube links they open inside the same webview. Me neither I don’t understand why Google is rejecting the App, but if this is not valid anymore I suppose Corona should give a solution to display Youtube videos.

Could you please be more specific with the “Corona Enterprise” solution?

Thanks!

I just had the same issue with Google.

Does this mean that if we want to include Youtube videos in our apps we no longer can publish them in Google Play if we don’t buy Corona Enterprise?

After researching this, it seems that perhaps Android’s webivew allows the youtube video to play while the app is backgrounded.  This is happening to native developers as well.

I would suggest using our system event and when you detect your app is being suspended or exited and cancel the webview to shutdown YouTube before the app suspencds/exits.

Rob

What do you mean with this? Which is the alternative?

We’ll try this, but corona is not going to support youtube in their API?

If you use Corona Enterprise, you might be able to use some native API’s to play a YouTube video and not use a webView.  I don’t know what’s involved as I’ve never done it nor have I researched it.

I can’t say if Corona SDK is going to support YouTube or not.  I can say that its not something we are working on right now nor is it something we are going to work on in the next few weeks.  Right now we are working on getting a new public build out (bug fixes) and getting OS-X and Windows support going and we are working on the Plugin store.  Engineering has no bandwidth for this.   We also need a feature request posted at http://feedback.coronalabs.com or vote up one that is already there.

Rob

Can you tell us more about how you’re trying to use a webview for this?  Google allows embedded videos in web browsers.  I don’t see why they would reject you using their provided embed code in a webview.

Corona SDK does not offer any other way to play YouTube videos.  You might be able to do an alternative in Corona Enterprise.

Rob

The App displays a webview with content, inside that content sometimes there are youtube links, when you press the youtube links they open inside the same webview. Me neither I don’t understand why Google is rejecting the App, but if this is not valid anymore I suppose Corona should give a solution to display Youtube videos.

Could you please be more specific with the “Corona Enterprise” solution?

Thanks!

I just had the same issue with Google.

Does this mean that if we want to include Youtube videos in our apps we no longer can publish them in Google Play if we don’t buy Corona Enterprise?

After researching this, it seems that perhaps Android’s webivew allows the youtube video to play while the app is backgrounded.  This is happening to native developers as well.

I would suggest using our system event and when you detect your app is being suspended or exited and cancel the webview to shutdown YouTube before the app suspencds/exits.

Rob

What do you mean with this? Which is the alternative?

We’ll try this, but corona is not going to support youtube in their API?

If you use Corona Enterprise, you might be able to use some native API’s to play a YouTube video and not use a webView.  I don’t know what’s involved as I’ve never done it nor have I researched it.

I can’t say if Corona SDK is going to support YouTube or not.  I can say that its not something we are working on right now nor is it something we are going to work on in the next few weeks.  Right now we are working on getting a new public build out (bug fixes) and getting OS-X and Windows support going and we are working on the Plugin store.  Engineering has no bandwidth for this.   We also need a feature request posted at http://feedback.coronalabs.com or vote up one that is already there.

Rob

Any update on this guys?  Was the Rob solution of stopping the video when the app is suspended sufficient to solve the rejection?

I am finishing app for client and it plays youtube videos. I really don’t want to be contacted later by the client with the complain that the app was rejected by Google…

?

Any update on this guys?  Was the Rob solution of stopping the video when the app is suspended sufficient to solve the rejection?

I am finishing app for client and it plays youtube videos. I really don’t want to be contacted later by the client with the complain that the app was rejected by Google…

?