how to upload video to youtube from an URL

20,716

Solution 1

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.

Solution 2

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

Share:
20,716
arunkumar.p
Author by

arunkumar.p

I have 11 years of mobile application development. I will do iOS Native(Swift and Objective C) and Flutter apps.

Updated on May 23, 2020

Comments

  • arunkumar.p
    arunkumar.p almost 4 years

    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......