Upload video to youtube using php client library v3

眉间皱痕 提交于 2019-12-02 07:32:16

The code to upload a video looks like this.

$youtubeService->videos->insert($part, Google_Video $postBody, $optParams = array());

'part' is what you want the request to return. In this case that could just be status, which return information about the status of the upload.

The release of the Google PHP client library might be old, so you'll want to checkout the source at https://code.google.com/p/google-api-php-client/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!