title: Youtube upload with uploadify,pluplad and co
body: <p>I'm using the <code>youtube_it</code> gem for managing youtube video in my app</p>
  
  <p>After uploading, youtube make a redirection to a callback with the video id etc...</p>
  
  <p>Uploadify and Plupload (flash) work great for uploading, but make me crazy with the callback.</p>
  
  <p>The redirection (302) is considered as an error and display nothing more.
  And without the callback, I can't process the video in database without youtube's video ID</p>
  
  <p>I have tried some options (debug, error events) and I was not able to get the 302 url</p>
  
  <p>With ruby <code>net/http</code> the 302 url is returned, there is some magic with flash ?</p>
  
  <p>Here a sample log of plupload.</p>
  
  <pre><code>uploader.bind('Error', function(up, err) {
    console.log("Error code: " + err.code);
    console.log("Error message: " + err.message);
    console.log("Error details: " + err.details);
  });
  
  Error code: -300
  Error message: IO error.
  Error details: Error #2038 
  </code></pre>
  
  <p>but here instead of 302 I have -300 ? o_o (but this is a 302, video is correctly uploaded on youtube and available)</p>
  
  <p>I don't think it's a plupload or uploadify issue, because I have the same problem with both</p>