How do you upload a video to youtube using json-c format? How do you upload a video to youtube using json-c format? json json

How do you upload a video to youtube using json-c format?


Here are instructions for uploading a video using JSON-C:

https://developers.google.com/youtube/2.0/developers_guide_jsonc#Add_Video

The upload is done in two parts: 1) First you upload the metadata in JSON format. The response of this will contain an upload url. 2) Upload the actual video to the upload url.

However @Alexander is right, the Objective-C client may be a better route, since it handles all the upload details for you:

http://code.google.com/p/gdata-objectivec-client/