• <small id='z8Ibt'></small><noframes id='z8Ibt'>

    • <bdo id='z8Ibt'></bdo><ul id='z8Ibt'></ul>

    1. <tfoot id='z8Ibt'></tfoot>
      <i id='z8Ibt'><tr id='z8Ibt'><dt id='z8Ibt'><q id='z8Ibt'><span id='z8Ibt'><b id='z8Ibt'><form id='z8Ibt'><ins id='z8Ibt'></ins><ul id='z8Ibt'></ul><sub id='z8Ibt'></sub></form><legend id='z8Ibt'></legend><bdo id='z8Ibt'><pre id='z8Ibt'><center id='z8Ibt'></center></pre></bdo></b><th id='z8Ibt'></th></span></q></dt></tr></i><div id='z8Ibt'><tfoot id='z8Ibt'></tfoot><dl id='z8Ibt'><fieldset id='z8Ibt'></fieldset></dl></div>

      1. <legend id='z8Ibt'><style id='z8Ibt'><dir id='z8Ibt'><q id='z8Ibt'></q></dir></style></legend>

      2. 在 iOS 上播放 youtube 视频

        Playing youtube videos on iOS(在 iOS 上播放 youtube 视频)
                <tbody id='5RYrX'></tbody>
              <tfoot id='5RYrX'></tfoot>
                <bdo id='5RYrX'></bdo><ul id='5RYrX'></ul>

              • <legend id='5RYrX'><style id='5RYrX'><dir id='5RYrX'><q id='5RYrX'></q></dir></style></legend>
                <i id='5RYrX'><tr id='5RYrX'><dt id='5RYrX'><q id='5RYrX'><span id='5RYrX'><b id='5RYrX'><form id='5RYrX'><ins id='5RYrX'></ins><ul id='5RYrX'></ul><sub id='5RYrX'></sub></form><legend id='5RYrX'></legend><bdo id='5RYrX'><pre id='5RYrX'><center id='5RYrX'></center></pre></bdo></b><th id='5RYrX'></th></span></q></dt></tr></i><div id='5RYrX'><tfoot id='5RYrX'></tfoot><dl id='5RYrX'><fieldset id='5RYrX'></fieldset></dl></div>

              • <small id='5RYrX'></small><noframes id='5RYrX'>

                  本文介绍了在 iOS 上播放 youtube 视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想知道 McTube(https://itunes.apple.com/us/app/mctube-for-youtube/id559618284?mt=8) 播放 youtube 视频.它看起来像一个自定义的 MPMoviePlayerController,但允许这样做吗?

                  I was wondering how are apps like McTube (https://itunes.apple.com/us/app/mctube-for-youtube/id559618284?mt=8) playing youtube videos. It looks like a custom MPMoviePlayerController but is that allowed?

                  顺便说一句,我需要使用 UIWebView 无法实现的自动播放,这就是我想知道的原因.

                  BTW I need autoplay which I couldn't achieve with UIWebView, that's why i was wondering.

                  推荐答案

                  有些 YouTube 视频可以在 MPMoviePlayerController 中播放 - 有些不能.当您通过 YouTube 数据 API(此处链接)查询视频时,您将获取特定视频可用的所有内容类型,包括 Flash 播放器、3GPP、MP4(如果可用)等.您可以使用这些 URL 加载 MPMoviePlayerController.

                  Some YouTube videos can be played back in a MPMoviePlayerController - some cannot. When you query a video through the YouTube Data API (link here) you'll get back all the content types available for a particular videos, including the Flash player, 3GPP, MP4 (if available), etc. You can use these URLs to load up a MPMoviePlayerController.

                  这很好,但正如我所说 - 并非所有视频都可以通过这种方式嵌入.某些视频(主要是需要展示广告的视频)无法放入原生控制器.

                  This is perfectly fine, but as I've said - not all videos are available to embed this way. Some videos (mainly ones that require adverts to be displayed) can't be put into native controllers.

                  这篇关于在 iOS 上播放 youtube 视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                  Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                  Resume game cocos2d(恢复游戏 cocos2d)
                  Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)
                  How to convert 32 bit PNG to RGB565?(如何将 32 位 PNG 转换为 RGB565?)
                  Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)

                      • <legend id='5osjA'><style id='5osjA'><dir id='5osjA'><q id='5osjA'></q></dir></style></legend>
                          <tbody id='5osjA'></tbody>

                        <small id='5osjA'></small><noframes id='5osjA'>

                        1. <i id='5osjA'><tr id='5osjA'><dt id='5osjA'><q id='5osjA'><span id='5osjA'><b id='5osjA'><form id='5osjA'><ins id='5osjA'></ins><ul id='5osjA'></ul><sub id='5osjA'></sub></form><legend id='5osjA'></legend><bdo id='5osjA'><pre id='5osjA'><center id='5osjA'></center></pre></bdo></b><th id='5osjA'></th></span></q></dt></tr></i><div id='5osjA'><tfoot id='5osjA'></tfoot><dl id='5osjA'><fieldset id='5osjA'></fieldset></dl></div>
                          <tfoot id='5osjA'></tfoot>
                            <bdo id='5osjA'></bdo><ul id='5osjA'></ul>