views:

427

answers:

0

Hello there. I seem to have noticed an odd bug in the YouTube App with the iPhone. I have written a small program that fires off the YouTube app with a url like:

http://www.youtube.com/watch?v=adsakasjda

This video is a private video held on youtube. When the Youtube player launches I receive the message "YouTube not available". HOWEVER, I am logged in as the owner of this private video. With this in mind I DONT QUIT THE YOUTUBE APP but instead, after dismissing the error I navigate to "My Videos" using the tab at the bottom. Low and behold I can view the video correctly.

I am wondering if this is something similar to cross site scripting.... since Im sending a URL OVER the [[UIApplication sharedApplication] openURL:[NSURL URLWithString:path]]; method, perhaps the Youtube App is resigned to rejecting it first. However, this doesnt figure as NON private videos work fine.

I have tried the UIWebView approach. Once the user has signed in, firing requests almost works but the embedded youtube objects have the struckout play button over them and they wont load up when clicked.

GData offers no solutions as one can't simply view a private page with a security token. This has been a feature request for some time now.