Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to automate uploading of videos straight to YouTube?

I would like to keep lots of home made videos. Of course, they are subject to being lost, or somebody could steal the the computer, or water or fire could destroy them.

Secondly, I have to plug in my hard drive every time I want to watch something, which I find slow and cumbersome.

I was thinking that perhaps I could upload the videos to YouTube with the privacy set to invite-only and then delete the video from the hard drive automatically. Could this be done?

share|improve this question

migrated from superuser.com Feb 2 '11 at 18:42

This question came from our site for computer enthusiasts and power users.

When the video is uploaded it asks you for information about to to publish it. On that page (which you get to later by finding My Videos and click edit) you can set the name, thumbnail etc and scroll down for Broadcasting and Sharing Options where Private (only people you choose can view) is an option. Also the same for Vimeo. – tobylane Feb 1 '11 at 23:47

You'll have to implement the YouTube API. The documentation for file uploading can be seen here.

share|improve this answer
sinni800, I'm having a hard time what to make of the content in your link, it's hard to follow and complicated. Could you upload a YouTube video with screenshots of how to do it? – user8508 Feb 9 '11 at 12:42
He is basically telling you to use the API and code it yourself. – ComputerLocus Feb 14 '12 at 2:35

It can be done with youtube api

For c# my code =

    YouTubeRequestSettings settings = new YouTubeRequestSettings("xxxxxxxxxxxxxxxxxxxxxx",  "xxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxx");

    YouTubeRequest request = new YouTubeRequest(settings);

    Video newVideo = new Video();

    newVideo.Title = srTitle;
    newVideo.Tags.Add(new MediaCategory("Games", YouTubeNameTable.CategorySchema));
    newVideo.Keywords = srKeywords;

    newVideo.Description = srDescription;

    newVideo.YouTubeEntry.Private = false;

    newVideo.YouTubeEntry.MediaSource = new MediaFileSource(srWhichVideo, "video/wmv");

    ((GDataRequestFactory)request.Service.RequestFactory).Timeout = 9999999;

    Video createdVideo = request.Upload(newVideo);
    string srVideoUrl = createdVideo.WatchPage.AbsoluteUri.ToString().Replace("&feature=youtube_gdata_player", "");
share|improve this answer

You could try firepype.com, it allows you to just drag and drop videos and they post to youtube, Vimeo.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.