title: Strategies for Integrating Youtube in a Rails 3 App
body: <p>I'm diving into Rails 3 for the first time to build a web app that involves users uploading video. I want to offload the costs of hosting and streaming video to YouTube, but I don't know the best way to move forward with this part of the functionality.</p>
  
  <p>I see two directions I can go in:</p>
  
  <p><em>Easier to manage approach:</em> Let the users upload videos to their own YouTube account via my Rails app or through YouTube, and then give the users the option to "Upload" or "Specify Video URL" in the HTML form. The downside is users have to setup and manage their own YouTube accounts, which most people don't already do.</p>
  
  <p><em>Better usability approach:</em> Create a single YouTube account, owned and maintained by me, and only give users the ability to upload video via my web app to that YouTube account.  This makes it easier for users to upload video since they don't need a YouTube account, improving the usability of my app.  The downside is, the YouTube account will have to be managed, the YouTube limits will be reached quicker (meaning I'll have to delete older videos often), among other downsides.</p>
  
  <ol>
  <li><p>Logging in and uploading videos (using either approach), would you use an existing Gem or write your own Rails 3 code to interact directly with the YouTube API?  </p></li>
  <li><p>Are there other video hosting services you would consider using besides YouTube?</p></li>
  </ol>
  
  <p>Thanks so much in advance for your wisdom!</p>