Answer the question
In order to leave comments, you need to log in
Is it possible to upload videos to YouTube using api?
There is such a moment, on the site there is a need to upload a video to the post. But due to hosting restrictions, there is no way to upload them to the server. Is it possible to upload a video via API to one YouTube account (for all users) and give a link to it in response?
Answer the question
In order to leave comments, you need to log in
Can
Uploads a video to YouTube and optionally sets the video's metadata. See an example.
This method supports media upload. Uploaded files must conform to these constraints:
Maximum file size: 128GB
Accepted Media MIME types: video/*, application/octet-stream
Yes, you can
YouTube API
Google API Client Libraries PHP (Beta)
but I would advise using JS because in the case of PHP it turns out that the video is uploaded to the server and only then to YouTube
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question