When a video on Youtube was Includes copyrighted content flag in the video manager. I want get list that videos with some information such as "CONTENT","CLAIMANT","POLICY". What i would like to know is if Youtube's or Google's API can give us this same information?
Thanks,
You can check the contentDetails.licensedContent:
Indicates whether the video represents licensed content, which means that the content was uploaded to a channel linked to a YouTube content partner and then claimed by that partner.
It is also provided in this related SO post, there is also no parameters who the claimant is or policy.
Hope this helps.
Related
So I got the new API cURL working for me for requesting video informations, I want to get the "licensed" info, tried with a music video, it worked, here.
My problem here is that I even tried it with a normal video, I got the same "licensedContent": true How can I detect if the music video is actually licensed?
For an example here is shakira's song and the description of the license here.
Disclaimer:
The following answer isn't complying with the YouTube operational API specification, you should instead follow my other StackOverflow answer on enumerating the musics in the given video. That way by checking whether or not the video contains musics you can deduce if the video is licensed or not.
Deprecated answer:
One more time YouTube Data API v3 doesn't provide a basic feature.
I recommend you to use my open-source YouTube operational API. Indeed by requesting https://yt.lemnoslife.com/videos?part=containsMusic&id=VIDEO_ID you'll get the boolean whether or not the video contains a music in item["containsMusic"].
Examples:
Hips don't lie:
https://yt.lemnoslife.com/videos?part=containsMusic&id=DUT5rEU6pqM
(returning "containsMusic": true)
A not music
video:
https://yt.lemnoslife.com/videos?part=containsMusic&id=6ZRgVX8SYX4
(returning "containsMusic": false)
licensedContent
means that the content was uploaded to a channel linked to a YouTube content partner and then claimed by that partner.
https://developers.google.com/youtube/v3/docs/videos#contentDetails.licensedContent
We want to retrieve video data including promotions.
Is there a way to get it with the YouTube Data API or the YouTube Analytics API?
Is there any other way?
A video that includes a promotion is a video that displays something like the image below.
Click to move to the following page.
https://support.google.com/youtube/answer/154235
Since you are only interested in knowing whether or not a video (based on its id) includes paid promotion, as far as I know there isn't any official YouTube Data API v3 endpoint answering your question.
However you can check if the video includes paid promotion by checking whether or not the YouTube webpage contains paidContentOverlayRenderer. You can proceed this way for instance:
curl -s https://www.youtube.com/watch?v=VIDEO_ID | grep "paidContentOverlayRenderer"
If something is returned it means that the video includes paid promotion otherwise it doesn't.
I'm using youtube v3 API to publish videos on my channel. I want to moderate all comments made on my videos so I've selected the following in my channel setting. Note that I've chosen for all comments to be held for review by default.
Now I proceed to publish a video via API. But, it was observed that my video settings were set to Allow all comments instead of Hold all comments for review as is evident from the below image.
I've gone through the video insert API and did not find any parameter that would configure comment settings for each video. I'm failing to understand why the channel default setting is not selected for videos published via API. Is there any way through which I can change the video comment setting via API?
There is no way to specify comment options via the Data v3 API. This has been a long standing feature request. See the IssueTracker thread.
I'm livestreaming an event and I use some songs from other author. The live video now show the Youtube logo because youtube detect the copyright. The question is can I get the copyright status of video through Youtube API ? So I can stop the song before youtube stop my stream ?
You may want to check the docs regarding the contentDetails, as stated you can use contentDetails.licensedContent to check if the video is copyrighted:
Indicates whether the video represents licensed content, which means that the content was uploaded to a channel linked to a YouTube content partner and then claimed by that partner.
Hope this helps.
I am a bit confused about the YouTube API's term & conditions. If I create an app for users to download only their own videos. Is that against the terms and conditions?
I know downloading other people content is definitely prohibited, but is it the same for your own videos? Since user can go to their video manager and download their own videosm this would be only a short-cut?
Anyone knows can/cannot do this? I was thinking of using this library http://ytdownloadextension.codeplex.com/
Any guidance would be appreciated,
Covo
Seems like YouTube already allows you to do that, so I'd say it's legal:
Download your videos
You can’t download other people’s YouTube videos, but ...
You can download MP4 files of videos that you’ve uploaded to YouTube in either 720p or 360p, depending on the video size.
See Download videos that you've uploaded.
I don't think so the Terms of Service of Youtube or the Terms of Service of the API allows you to do so:
Excerpt of Youtube ToS (5. K):
you agree not to access Content or any reason other than your personal, non-commercial use solely as intended through and permitted by the normal functionality of the Service, and solely for Streaming. "Streaming" means a contemporaneous digital transmission of the material by YouTube via the Internet to a user operated Internet enabled device in such a manner that the data is intended for real-time viewing and not intended to be downloaded (either permanently or temporarily), copied, stored, or redistributed by the user.
Excerpt of the API ToS (II. 11):
store copies of YouTube audiovisual content;
Both, state in a very clear way that neither the user nor applications built using the API can "store" content, which is a very direct statement that disallows you from giving such an option in your app. Now, whether Youtube does give its users an interface to download their content or not is an argument out of sequence here as Youtube don't need to follow their own ToS, in other words, it's up to them to give their users such an option, but you can't give it to the users of your app.
I suppose you need a special permission from Youtube to give such an option in your app.
Yes. You can definitely download your own videos from YouTube as it is your own content so you have full rights to it as the creator of the videos.