ios - 将 youtube api 帮助程序集成到 iOS 时出现错误 258

标签 ios youtube-api

https://developers.google.com/youtube/v3/guides/ios_youtube_helper

我已经按照提供的教程在 iOS 的 youtube 帮助程序上集成了,但我无法播放视频。在 iOS 7 的 Viewcontroller 上加载 View 时出现以下错误

收到错误渲染模板:Error Domain=NSCocoaErrorDomain Code=258 "The operation couldn't be completed. (Cocoa error 258.)"

git 源代码示例也未编译。如果我做错了什么,请告诉我。

最佳答案

我得到了解决方案,我错过了 YTPlayerView-iframe-player.html file to add into bundle .在 this link 中可用

关于ios - 将 youtube api 帮助程序集成到 iOS 时出现错误 258,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24212348/

相关文章:

javascript - 从浏览器中禁用 iOS 双击空格键

ios - 将一系列捕获的图像存储到数组中

ios - Swift - Locksmith loadDataForUserAccount 有时会失败?

api - youtube feed api orderby参数未显示所有结果

javascript - 使 YouTube JS API 与 iOS 一起工作,处理 embedSWF?

ios - 以编程方式更改其标题在 IB 中设置为属性的 UIButton 的标题

ios - 导航 Controller 干扰 TabBar Controller

php - 如何获取 YouTube 视频的所有评论

javascript - 防止在 YouTube 视频之间快速转换时出现控制台错误

iframe - 在 Google Chrome 扩展程序中播放盈利的 YouTube 歌曲。我有什么选择吗?