Youtube upload from a url

Archived from the Transloadit support forum. Originally posted on May 30, 2012; details may be outdated, see our docs for current behavior. Original thread

Hi,

I used translodit to encode a video and then store it to cloud files using /cloudfiles/store robot. Things are working perfectly fine.

Now i want that any user can upload those videos to youtube. How can i specify that cloudfiles url to /youtube/store robot ?

Hey Nazar,

not sure I fully understand the question. Couldn’t you just add another storage step that uses the youtube/store robot?

Let me explain the scenario a bit more clearly.

In my application, users can upload videos which usually shows on their profile page. Not more than that. So i was using translodit to encode and upload those videos to rackspace.

Now I am adding new feature in it that user can copy those videos to their own youtube account. Currently what I am doing is that i download that video from rackspace to my own server and then upload it to youtube using youtube_it gem.

Now I want to remove that overhead, I want that the video should directly upload from rackspace to youtube. So why i was looking for a way that I can pass a cloudfiles url of the video to /youtube/store robot and it copy that video to youtube.

Hope now you will understand my scenario. I will be looking for your urgent reply.

Hey Nazar,

you can use the http/import robot to import an external url into our system. Then set up a youtube/store step in your template that “uses” (the “use” parameter) that http/import step. Then you should be all good.

Kind regards,
Tim