4
There is a way for json to find out if a particular video is copyrighted by the youtube api?
4
There is a way for json to find out if a particular video is copyrighted by the youtube api?
4
There is yes,
In the documentation of Youtube Data API (v3), there is a value property boolean returned in the Json calling for contentDetails.licensedContent which shows whether a Youtube content partner has claimed its rights to copyright or not about the content, as you can see in the image below.
In addition, as an additional response, there is also a property called status rejectionReason that returns a String, whose value aims to explain "Why Youtube rejected a video sent" (according to the same documentation). If upload is not possible due to the implication of copyright the value returned in String will be of "copyright".
These are the values of possible causes of rejection that can be returned by this property:
Note: This property in turn will only be available if the property uploadStatus indicate that the consignment has actually been rejected, that is to say, if the value of the String returned in the same is equal to "Rejected".
Browser other questions tagged api youtube youtube-api
You are not signed in. Login or sign up in order to post.