Youtube - Content ID - youtube-api

I've been reading a lot recently about the Content ID that youtube provides. As how it works and how to use it from the Youtube provided interface is clear, I did not find any API reference for this.
Could some one point me to the portion of the Youtube api that deals with this ?
I have to mention that I'm intending to be a copyright owner and I would like to use the youtube api, if possible, to manage rights and find the content which other people have uploaded. Content which by copyright is owned by me.
Thank you very much.

First of all, your channel must be a partner channel, then you must enable the ContentID API from the console\services:
Google Developer Console
After that you can refer to the online documentation at:
YouTube Content ID API
But please be noted that you cannot see the "ContentID API" directly on the console, you must contact the Youtube for it, and this what happened with us.
We were developing an automated tool that uses Youtube Data API & Youtube ContentID API.

Related

Who to contact for YouTube Content ID API for the purpose of developing new web tools?

I am aware of the partnership program in order to gain access to the YouTube Content ID API, but I'm not interested in monetization. I'd like to work with the API to develop a web tool. Is there any way to do this? I'm having a hard time trying to contact YouTube about it. Any help would be appreciated.
You can contact them through here.
The YouTube Content ID API is intended for use by YouTube content
partners and is not accessible to all developers or to all YouTube
users. If you do not see the YouTube Content ID API as one of the
services listed in the Google Developers Console, see
www.youtube.com/partner to learn more about the YouTube Partner
Program.

YouTube Content ID API Manual Claims

I’ve been doing some research on the YouTube Content ID api and researching about making claims, there is a “manual claim” property, but it’s noted as restricted with semi-minimal information about it.
params.isManualClaim - restricted
https://gist.github.com/esvit/27bc8f26c09c7a3a0c18
My question is, what does restricted actually mean? Is it restricted to only partners that have access to perform manual claims, or is it restricted to everyone and only available to internal YouTube processes?
Anyone have any ideas?
Thank you!
Here is the reason from the documentation.
Note: The YouTube Content ID API is intended for use by YouTube
content partners and is not accessible to all developers or to all
YouTube users. If you do not see the YouTube Content ID API as one of
the services listed in the Google Developers Console, see
www.youtube.com/partner to learn more about the YouTube Partner
Program.
The YouTube Content ID API lets developers build applications that
interact directly with YouTube's rights management system. The system,
which has an online interface at www.youtube.com/content_id ,
enables content owners and administrators to provide YouTube with
metadata, ownership information, and policy information for their
assets.
As a YouTube partner, you can use the API to create new assets and
manage existing assets. You can also retrieve information about your
Content Manager account, including a list of saved policies that you
can apply to your claimed content.
In addition, by combining the YouTube Content ID API with the YouTube
Data API and YouTube Player APIs, you can enable your application to
also upload, manage, and play YouTube videos.

Is there a Youtube API endpoint to set sharing on a video within an organization?

I'm working on an app that uploads private videos to Youtube to be viewed by everyone at our organization. Luckily, Google and Youtube have an awesome company-wide permission for this, which allows for anyone with an email address within the company to view these videos.
Youtube has 3 options for video privacy status: Public, Unlisted and Private. I'd usually just go with Unlisted and call it a day, but due to the nature of these videos, I'd prefer for them to Private, then manually grant access to the video and share it with everyone at the organization. When done through the Youtube Video Manager page, here is the dialog box I'm looking for an API endpoint for:
Manual Approach
We can go through each video and check this box in each video, but that's not something that scales well. I'd love to find documentation on a Youtube API endpoint that handles this. There's a clear status.privacyStatus attribute for videos that can be set to private, public or unlisted, but nothing for this.
Does anyone know of a Youtube API andpoint to control this permission for private videos on Youtube?
I can back up the assumption from my comment that private video sharing is not possible through the Data API v3 with this article I found on the topic.
The author of the article even provides a workaround to this problem, although I strongly discourage using it, since it requires parsing sensitive account information (password) in PHP. Apart from that, the code is from 2010 and will most likely not work anymore because it is from before YouTube channels were linked to Google+ pages.

how can get direct link from youtube video with youtube api v3

I have seen multiple sites that use direct link from youtube.
For example, for this youtube link :
https://www.youtube.com/watch?v=yY6ex5Dqkks
the direct link for quality 720p is :
http://r12---sn-n4v7kne7.c.docs.google.com/videoplayback?sparams=dur,expire,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,nh,pl,ratebypass,source,upn&key=cms1&mime=video%2Fmp4&fexp=9416126%2C9416891%2C9420452%2C9422596%2C9423662%2C9427902%2C9428399&expire=1459599509&ipbits=0&upn=99USaJ1LnkA&dur=30.093&pl=48&lmt=1459568922521937&signature=63FE6D047E895678BAD75266A901C5ABA672A189.0ABBCAA69A9C69003ED38AC11CC08BBF237BB1B3&itag=22&source=youtube&ip=2604:a880:1:20::1ff:1&ratebypass=yes&id=o-AJMIxtvMFBps0IkCDE5t76_cGObBwaTk_xoexDWKt2c0&sver=3&cms_redirect=yes&mm=31&mn=sn-n4v7kne7&ms=au&mt=1459577754&mv=m&nh=IgpwcjAxLnBhbzAzKgkxMjcuMC4wLjE&utmg=ytap1&title=New%20TV%20Ad:%20%22Nose%22
How can I get this direct link with youtube api v3 or any other.
use https://rg3.github.io/youtube-dl/ with -g. here are some more characters.
You can't get direct link using youtube api, because it is against their terms.
So they won't allow you to get download link using their api.
Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, make available online or electronically transmit, publish, adapt, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.

Youtube api player for android copyright issue

The new android youtube api allows developer to embed and play videos in the third party app. I made android app that shows list of youtube videos and show video in the app (not using youtube official app).
I want to know if there will be any copyright issues for the same.
Do I need any permissions or something?
Posting this question here because youtube has mentioned to use stack-overflow with tag "youtube-api" as the official support group. See this link
https://youtube-eng.googleblog.com/2012/09/the-youtube-api-on-stack-overflow_14.html
If you are using the official API to show videos, either on Android or for a Web App, then this should not be a concern as the API will only give you videos that haven't been restricted by the content owners (or if there is a concern over content, the videos will be removed, and hence your apps will no longer be displaying them).
When it comes to uploading, if you utilize oAuth authentication with v3 of the API then users who upload videos will be responsible for whatever is uploaded to their YouTube account through your app. That is, you won't have to worry about doing copyright checks yourself, as that will happen once the video ends up on the YouTube servers (this is the best reason to utilize this authentication method; if an app instead were to forego oAuth authentication and have uploads go into the app owner's account, then the app owner could be liable for copyright infringing videos sent through the app).
Note that this isn't legal advice or an official YouTube perspective; just my interpretation of reading the terms of service (which you should read as well).

Resources