上传失败:无法处理文件(通过google youtube API上传的视频)

时间:2017-11-08 08:37:10

标签: youtube-api youtube-data-api

我有一个Google YouTube API演示应用程序,可将视频上传到youtube。我从谷歌获得了200个响应代码但无法看到视频文件。现在,如果我转到我的YouTube帐户查看上传的视频列表,则会发现“上传失败:无法处理文件”。请检查我附带的屏幕截图和响应正文:

responseBody:protected
]=>{  
"kind":"youtube#video",
"etag":"\"ld9biNPKjAjgjV7EZ4EKeEGrhao/g2r-EnOHW5MpVltTX_2yOkmTkp0\"",
"id":"AwLj-Vd1xvg",
"snippet":{  
   "publishedAt":"2017-11-08T07:13:47.000Z",
   "channelId":"UCSdakp1jDxb7-TcaxmPux1A",
   "title":"Spencers Recipe123",
   "description":"Test by spenvcer",
   "thumbnails":{  
      "default":{  
         "url":"https://i.ytimg.com/vi/AwLj-Vd1xvg/default.jpg",
         "width":120,
         "height":90
      },
      "medium":{  
         "url":"https://i.ytimg.com/vi/AwLj-Vd1xvg/mqdefault.jpg",
         "width":320,
         "height":180
      },
      "high":{  
         "url":"https://i.ytimg.com/vi/AwLj-Vd1xvg/hqdefault.jpg",
         "width":480,
         "height":360
      }
   },
   "channelTitle":"Srijabrat Dolai",
   "tags":[  
      "tag"
   ],
   "categoryId":"22",
   "liveBroadcastContent":"none",
   "localized":{  
      "title":"Spencers Recipe123",
      "description":"Test by spenvcer"
   }
},
"status":{  
   "uploadStatus":"uploaded",
   "privacyStatus":"unlisted",
   "license":"youtube",
   "embeddable":true,
   "publicStatsViewable":true
}
}

0 个答案:

没有答案