我正在尝试确定通过YouTube的JavaScript API播放的视频是否因版权侵权而被静音。 YouTube的播放器很乐意播放视频,不会抛出任何错误,所以我想知道元数据中是否有一些标记。我在文档中看不到任何内容。有人对此有所了解吗?
这是一段静音的视频:https://www.youtube.com/watch?v=1poQE-mItpc
它的回应:
200 OK
- Show headers -
{
"kind": "youtube#videoListResponse",
"etag": "\"_Ao29TLrEE22AhzAvL5Tljx-d60/A5Vud3OI5QeD0pFgKANC76SsTQY\"",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#video",
"etag": "\"_Ao29TLrEE22AhzAvL5Tljx-d60/do1XMt-hqrCVUBNaQDjiNU9IwZM\"",
"id": "1poQE-mItpc",
"snippet": {
"publishedAt": "2014-01-14T11:54:53.000Z",
"channelId": "UCdX5ZAvFi9G5fZz3vGyGemw",
"title": "魔奇少年 magi Season 2 ED 2/Ending 2 TVsize",
"description": "",
"thumbnails": {
"default": {
"url": "https://i1.ytimg.com/vi/1poQE-mItpc/default.jpg"
},
"medium": {
"url": "https://i1.ytimg.com/vi/1poQE-mItpc/mqdefault.jpg"
},
"high": {
"url": "https://i1.ytimg.com/vi/1poQE-mItpc/hqdefault.jpg"
},
"standard": {
"url": "https://i1.ytimg.com/vi/1poQE-mItpc/sddefault.jpg"
},
"maxres": {
"url": "https://i1.ytimg.com/vi/1poQE-mItpc/maxresdefault.jpg"
}
},
"channelTitle": "弒夜雪",
"categoryId": "10",
"liveBroadcastContent": "none"
},
"contentDetails": {
"duration": "PT1M30S",
"dimension": "2d",
"definition": "hd",
"caption": "false",
"licensedContent": false
},
"status": {
"uploadStatus": "processed",
"privacyStatus": "public",
"license": "youtube",
"embeddable": true,
"publicStatsViewable": true
},
"player": {
"embedHtml": "<iframe type='text/html' src='http://www.youtube.com/embed/1poQE-mItpc' width='640' height='360' frameborder='0' allowfullscreen='true'/>"
}
}
]
}