Android YouTube integration, Remove YouTube logo - android

I have integrated YouTube player to my app.
The problem now is, YouTube logo is displayed in the player and when i click on it, it takes to YouTube app.
Is it possible to remove YouTube logo from player? If not , is it possible to remove click event on the YouTube logo?
Thanks.

As suggested by others, it is mandatory for you to display YouTube logo in your application in case you do not want to violate YouTube Terms of Service. Look Under API USE:
Brand Feature Rules. "YouTube Brand Features" means the trade names, trademarks, service marks, logos, domain names and other
distinctive brand features of YouTube. YouTube grants You a
non-exclusive license to use the YouTube Brand Features solely in
connection with their display on or through the API Client as
delivered by YouTube. Your Application shall provide proper
attribution to YouTube as specified in the YouTube Brand Guidelines
set forth at http://code.google.com/apis/youtube/branding.html, which
may be modified by YouTube at any time. YouTube may terminate Your
license to use the YouTube Brand Features at any time for any or no
reason. Goodwill in YouTube Brand Features will inure only to
YouTube's benefit and You obtain no rights with respect to any of
them. You irrevocably assign and will assign to YouTube any right,
title and interest that You obtain in any of YouTube's Brand Features.
You shall not at any time challenge or assist others to challenge
YouTube Brand Features or their registration (except to the extent You
cannot give up that right by law) or attempt to register any
trademarks, marks or trade names confusingly similar to YouTube's.
This paragraph survives any termination or expiration of this
Agreement.
As far as removing the link goes, even that is against YouTube's branding policy. Look at the last point at the bottom of the page in this link:
Any YouTube logo used within an application must link back to YouTube
content or to a YouTube component of that application.
Hence, I would really suggest leaving that logo and link there. However, meeting the requirements, you could re-size it a little in case if it is big or small.

Related

How To Play YouTube Videos In The Background?

I happened to see an application that allows me to minimize and play YouTube videos in the background.
I know that the YouTube terms of service does not allow this. However, this app is not banned yet. Why are they not banned and how are they doing this?
Link to Play Tube
They are using TYPE_APPLICATION_OVERLAY, that is why they require your "android.permission.SYSTEM_ALERT_WINDOW". This would allow them to draw over other apps, while having their app in the "background". It is actually in the foreground.
As for displaying the actual YT videos/comments part, well, they just start an intent action view with a youtube link, that's all.
That covers how they do it.
As to why they are not banned? I believe it is because they are not actually letting you download any copyrighted material.

YouTube Red background playing in third party apps on android and ios

Is it possible to play youtube content in the background both in android and iOS apps for Youtube Red users. I have not found any official documentation regarding allowing Youtube Red users to play youtube content in third party apps. I have just found this unanswered SO post
YouTube Red members login api
And this one which is answered but does not have any reference to any official source explicitly stating that this is not possible
Using YouTube Player API, play video as a specific user, applying YouTube Red subscription

How to play YouTube videos in background in android?

I'm a beginner and I’m working on an android project in which I play youtube videos using Google YouTube data API.
Is it possible to play the video in the background even after the user has switched to another app or pressed the home button?
Is it possible to separate the audio from the video and stream that in the background?
I don't want to use web view.
It is possible to play the audio in the background.
However , you are not allowed to do so.
This violation of the Youtube API is cause for immidiate removal from the play store.
Official answer:
During review, we found that your app violates the Prohibited Actions provision of the Content Policy.
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;"
youtube red users only they possible to play youtube videos in background (https://support.google.com/youtube/answer/6308116?hl=en). You can check if they have this in the api,
its possible to play youtube videos in background if you open the desktop version of youtube in a browser.
Maybe you can make use of this by opening the correct link in a webview in background
Yes its possible and its easy. No installation, no root, no violations. Let me explain it.
Andriod 9 --> Settings --> Search Picture in Picture --> select YouTube --> Allow
Once Allow picture-in-picture is enabled. You can run YouTube in Background.
I got another idea, but not sure will it violate the rule.
You can build your own service base on youtube-dl. More explain step by step:
First you got the url of the video from Youtube
Second you extract the audio information from the origin video url, and you now get the audio source via youtube-dl
Play the audio source in the background
In this way you are not using the Youtube api directly, I think it's fine to only use the audio from the source and play it in the background.

Does YouTube Android Player API have a quota?

I was planning on using the Youtube Android Player API, when I noticed it needs a YouTube Data API (v3), API key: https://developers.google.com/youtube/android/player/register
The Youtube Data API handles most youtube's interaction, like getRating, upload video's, rate video's , get playlists etc, and sets a quota based on those actions: https://developers.google.com/youtube/v3/getting-started#quota & https://developers.google.com/youtube/v3/determine_quota_cost
None of these actions are video playback though, that's what the Android Player does. I also can't find anything about quotas on the Android Player API section.
So, my question is two-fold: Why does the player API need the Data API, and is there a quota on usage of the player API?
As far as I have researched on this.
The Google Developers Console allows creation of keys and then we restrict the key usage ourselves. This means that each key when created is a general key. It can be used for any Google API.
As far as YouTube player is concerned. As long as we don't make any calls to the YouTube API in our app, I don't think there is a quota limit. This is what I have concluded after reading this: https://developers.google.com/youtube/v3/getting-started#calculating-quota-usage
Also, since the player doesn't work until you have the YouTube app installed, it basically uses the app to play content. If you just show thumbnails, the thumbnails are already public and you can generate them this way: How do I get a YouTube video thumbnail from the YouTube API?
This API does not require an API key thus it does not affect the quota in any way.
This is an intuitive answer as per my research. I could not find any explanation anywhere so this is what I came up with.

Use of Google Play Achievement's with Productivity app with game aspects

I have an app a productivity app Raise The Bar that allows "Users to level up their life". I am trying to incorporate more game aspects into the application, achievements being one of them. Is there any requirements for an app to use Google's game services in particular Achievements. I don't want to implement it just to find out that it doesn't get approved. Any experiences or links to information is greatly appreciated!
There is no approval process for using Google Play Games and other examples (such as Pedometer) which are not 'games' per se that are using Google Play Games Achievements/Leaderboards.
There are several "simple" apps on the play store using the service.
Check out the official google play service Terms of Service.
Section 1 entails the content policies
"Section 1 Developer Content Policies:
You agree to comply with the Google+ Platform Developer Policies set forth at http://developers.google.com/+/policies and the Google Play content policies set forth at http://play.google.com/about/developer-content-policy.html (or other such URLs as Google may provide for this purpose from time to time).
The content of your API Client, including any content supplied by your users or other content providers, must follow the Google+ User Content and Conduct Policy at http://www.google.com/intl/en/+/policy/content.html. "
You'll realize there's nothing like "Your software application must be a sophisticated video game with high intensive graphics using OpenGL ES 3.0"

Categories

Resources