title: Uploading video to YouTube using Dropbox public link?
body: <p>I am using youtube <strong>ZEND gdata api</strong> to upload videos to My youtube account.But now I need to upload videos to YouTube which are stored in my DropBox account.I have public links or direct links for video files.Code I am using is:</p>
  
  <pre><code>&lt;?php
  
  require_once 'Zend/Loader.php';
  Zend_Loader::loadClass('Zend_Gdata_YouTube');
  Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
  Zend_Loader::loadClass('Zend_Gdata_App_Exception');
  
  $developerKey = '******************';
  $applicationId = '*********';
  $clientId = '';
  
    $video_title = 'test movie';
    $video_description = 'test movie';
    $video_category = 'Entertainment';
    $video_tags = 'test,movie';
    $path_of_uploaded_file = 'http://dl.dropbox.com/uhh/336/test.wmv';
  
  
  
  $authenticationURL= 'https://www.google.com/youtube/accounts/ClientLogin';
  $httpClient = Zend_Gdata_ClientLogin::getHttpClient(
                $username = '*****',
                $password = '*****',
                $service = 'youtube',
                $client = null,
                $source = '*******', // a short string identifying your application
                $loginToken = null,
                $loginCaptcha = null,
                $authenticationURL);
  
  $yt = new Zend_Gdata_YouTube($httpClient, $applicationId, $clientId, $developerKey);
  
  $yt = new Zend_Gdata_YouTube($httpClient);
  
  // create a new VideoEntry object
  $myVideoEntry = new Zend_Gdata_YouTube_VideoEntry();
  
  // create a new Zend_Gdata_App_MediaFileSource object
  $filesource = $yt-&gt;newMediaFileSource($path_of_uploaded_file);
  
  ..
  .
  .
  .
  .
  .?&gt;
  </code></pre>
  
  <p>Error I am getting is:<strong>File to be uploaded at <a href="http://dl.dropbox.com/uhh/336/test.wmv" rel="nofollow">http://dl.dropbox.com/uhh/336/test.wmv</a> does not exist or is not readable.</strong></p>
  
  <p>I don't why YouTube is throwing this error even though the URL is direct(Public) link. I am not getting what's wrong with my code and why it is not working.Please help  :) </p>