iPhone 上的 Youtube 应用程序忽略私人视频

发布于 2024-08-08 21:55:51 字数 670 浏览 4 评论 0原文

我似乎注意到 iPhone 上的 YouTube 应用程序存在一个奇怪的错误。我编写了一个小程序,可以启动 YouTube 应用程序,其网址如下:

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

该视频是 YouTube 上的私人视频。当 YouTube 播放器启动时,我收到消息“YouTube 不可用”。但是,我以该私人视频的所有者身份登录。考虑到这一点,我没有退出 YouTube 应用程序,而是在消除错误后,使用底部的选项卡导航到“我的视频”。瞧,我可以正确观看视频了。

我想知道这是否类似于跨站点脚本编写......因为我通过 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:path]]; 发送 URL方法,也许 Youtube App 会先拒绝它。然而,这并不意味着非私人视频工作正常。

我尝试过 UIWebView 方法。用户登录后,触发请求几乎可以工作,但嵌入的 YouTube 对象上方有删除线的播放按钮,单击时它们不会加载。

GData 没有提供任何解决方案,因为人们无法简单地使用安全令牌查看私人页面。这是一个功能请求已经有一段时间了。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

完美的未来在梦里 2024-08-15 21:55:51

这似乎是一个 Youtube 应用程序错误,因为我刚刚使用我不拥有的私人视频进行了测试,但我可以通过 Safari 在 Mac 上访问。我的 Youtube 应用程序已连接到我的 Youtube 帐户,但如果我尝试通过邮件应用程序通过 URL 打开该视频,我仍然收到该视频的“Youtube 不可用”消息。公共视频效果很好。

It seems to be a Youtube App bug, because I just tested with a Private Video I do not own, but I have access to on the Mac via Safari. My Youtube App is connected onto my Youtube account, but I still get the "Youtube not available" message for that video if I try to open it via url through Mail App. Public videos work fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文