Monday, September 24, 2012

[JS] Youtube video uploading api using oauth 2.0 method step by step

There are 2 method for uploading video, one is Direct uploading and here is Browser-based uploading

Here is the flow for Browser-based uploading method
(https://developers.google.com/youtube/2.0/developers_guide_protocol_browser_based_uploading#Browser_Upload_Process)

1. Signup google account
2. Create your client_id then assign redirect_uri
3. Create your developer_key
4. Try my example code :)
  • authenticate & get access token
  • send video metadata(title,description,category,keywords,developertags) & get upload access token
  • now you can upload the video
Download

Important!
your upload will not show in feed immediately google has delay in searching your upload by using the api

No comments:

Post a Comment