菜鸟教程小白 发表于 2022-12-11 18:11:41

ios - 如何使用 iFrame API 从 ios 转换 youtube 视频?


                                            <p><p>我想通过我的 ios 设备将 youtube 视频转换到 chromecast。我首先在 github 上使用 Google 的 CastHelloText-ios 示例应用程序。但是,我很难找到适合这项任务的文档。</p>

<p>有人知道我该如何开始吗?</p>

<p>编辑:</p>

<p>我创建了一些 HTML/javascript 代码来处理 youtube iFrame api 的东西。使用 HelloText 发件人应用程序,我将一个 url 传递给我的 HTML 代码。但是我注意到 youtube 视频开始播放一段时间,但几秒钟后立即停止。</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p><strong>有谁知道我该如何开始
?</strong></p>

<p>您可以通过查看 <a href="https://developers.google.com/cast/docs/ios_sender_integrate" rel="noreferrer noopener nofollow">Integrate Cast v3 into your iOS App</a> 开始使用因为你使用的是 iOS。</p>

<p>指南建议您尝试:</p>

<blockquote>
<p>Cast <a href="https://developers.google.com/cast/docs/tutorials" rel="noreferrer noopener nofollow">iOS codelab
tutorial</a> - Learn
step-by-step how to enable an existing iOS video app to use a Google
Cast device to cast videos to a TV.</p>

<p><a href="https://github.com/googlecast/CastVideos-ios" rel="noreferrer noopener nofollow">CastVideos-ios sample
app</a> (GitHub) - Run,
navigate and view this reference sample app which complies with the UX
Guidelines and Design Checklist.</p>
</blockquote>

<p>不确定是否有帮助,但您也可以查看 <a href="https://developers.google.com/youtube/v3/guides/ios_youtube_helper" rel="noreferrer noopener nofollow">Embed YouTube Videos in iOS Applications with the YouTube Helper Library</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 如何使用 iFrame API 从 ios 转换 youtube 视频?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/40880636/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/40880636/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 如何使用 iFrame API 从 ios 转换 youtube 视频?