title: YouTube API (PHP) - Retrieving a private video under my account
body: <p>I'm using Zend_Gdata_YouTube to interface with the YouTube API to upload videos from my site. The videos are uploaded as "private":</p>
  
  <pre><code>$myVideoEntry-&gt;setVideoPrivate();
  </code></pre>
  
  <p>...and have unique tags and developer tags. An admin can then go into a custom CMS and approve the private user-submitted entries and make them public - at least, that's what I want to do.</p>
  
  <p>In the CMS, I connect to the API as an authenticated user (Zend_Gdata_AuthSub). I can pull the authenticated user's video like so:</p>
  
  <pre><code>$videoFeed = $yt-&gt;getuserUploads('default');
  </code></pre>
  
  <p>This will pull all the videos, both private and public. But when I try to search for a specific video with a search term:</p>
  
  <pre><code>$query = $yt-&gt;newVideoQuery();
  $query-&gt;setSafeSearch('none');
  $query-&gt;setVideoQuery('puppies');
  
  $videoFeed = $yt-&gt;getVideoFeed($query-&gt;getQueryUrl(2));
  </code></pre>
  
  <p>Or by tag:</p>
  
  <pre><code>$query = $yt-&gt;newVideoQuery();
  $query-&gt;setOrderBy('viewCount');
  $query-&gt;setRacy('include');
  $query-&gt;setCategory('People/sometag');
  
  // obtain a feed with videos matching the provided tag
  $videoFeed = $yt-&gt;getVideoFeed($query);
  </code></pre>
  
  <p>Or by developer tag:</p>
  
  <pre><code>$devTagUrl = 'http://gdata.youtube.com/feeds/api/videos/-/%7Bhttp%3A%2F%2Fgdata.youtube.com' .
      '%2Fschemas%2F2007%2Fdevelopertags.cat%7D' . $some_dev_tag;
  $videoFeed = $yt-&gt;getVideoFeed($devTagUrl);
  </code></pre>
  
  <p>The private videos will return an empty result. However, if I make the video public, then I can pull it from any of the three methods above - all of which are being executed under an authenticated connection.</p>
  
  <p>How can I pull a private video based on tag or developer tag? Am I missing something? Thanks so much!!</p>