Question

I have tested and used Google's resumable upload code sample. Based on that, if I use HTML5's upload file API, I would have to upload the file to the server first then post the video's name to Google's resumable upload php file, right? If so, then this would mean a very long upload process because I'm uploading to two servers consecutively.

Hence, my question title. Is it possible? If so, please point me to the right direction or simple tutorials using YouTube API v3 to get started. Thank you very much!

P.s. I've heard of Zend Framework but I don't want to install the whole thing just to use a simple YouTube upload. Please guide me by extending the usage from Google's code sample.

Was it helpful?

Solution

Two possible approaches right now.

  1. Browser based upload via YouTube API v2 (scheduled to be removed april 2015) https://developers.google.com/youtube/2.0/developers_guide_protocol_browser_based_uploading

  2. CORS upload with API v3. SO Question with details

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top