in my app i want to upload an video to youtube. The video is already been placed in another database of an URL. How to upload the video from that url to youtube......
YouTube does not provide an API to upload videos from a URL. You would first have to download the video to your device. Once you have video, the actual file, you can upload the video to YouTube using their API.
You would have use NSURLConnection and or NSURLRequest to upload the video. Browser-based uploading
You can use the code in this test application and just change the path of the file from nsString
to nsUrl
.
But you have to use the new version of http://code.google.com/p/gdata-objectivec-client/
Here is a good tutorial. It works like charm. I can now upload video both from the device and an URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With