php - How do I upload directly to YouTube without uploading to server first? -


I have tested and used Google's code sample. Based on this, if I use the upload file API of HTML5, then I must first upload the file to the server, first post the name of the video in Google's Resumable Upload PHP file, right? If so, that means a very long upload process because I'm uploading it to two servers continuously.

So, is my question title possible? If so, please go to the right direction or simple tutorial using Youtube API v3 to start me. Thanks a lot!

PS I have heard about the Zend Framework, but I do not want to install the whole thing to use a simple YouTube upload. Please guide me by increasing the usage of Google's code sample.

Two possible approaches

  • Browser based upload via YouTube API v2 (April 2015 is to be removed)

  • COS with API V3 Upload

  • Comments

    Popular posts from this blog

    Java - Error: no suitable method found for add(int, java.lang.String) -

    java - JPA TypedQuery: Parameter value element did not match expected type -

    c++ - static template member variable has internal linkage but is not defined -