有没有办法检查是否使用其 API 声明了 youtube 视频 [英] Is there a way to check if a youtube video is claimed using its API

查看:22
本文介绍了有没有办法检查是否使用其 API 声明了 youtube 视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 php API 构建 YouTube 视频列表,并且必须在视频旁边显示是否有人声明?

I am trying to build a listing of YouTube videos using php API and have to display next to video whether it is claimed by someone or not?

对此我应该采取什么方法?

What should my approach be to this.?

在这方面的任何帮助将不胜感激.

Any help in this regard would be appreciated.

谢谢.

推荐答案

contentDetails.licensedContent  boolean

指明视频是否代表已获许可的内容,这意味着该内容已被 YouTube 内容合作伙伴声明所有权.

Indicates whether the video represents licensed content, which means that the content has been claimed by a YouTube content partner.

来源:Google 开发者视频

这篇关于有没有办法检查是否使用其 API 声明了 youtube 视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆