加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

angularjs – 未捕获的ReferenceError:ytcfg未定义,即使我不会

发布时间:2020-12-17 17:46:39 所属栏目:安全 来源:网络整理
导读:几个月来我一直在使用YouTube IFrame Player API而没有问题,并且最近在播放器加载时开始看到此异常: Uncaught ReferenceError: ytcfg is not defined when I see the console. 也是由于这个错误我的应用程序崩溃. 这个问题已在Uncaught ReferenceError: ytc
几个月来我一直在使用YouTube IFrame Player API而没有问题,并且最近在播放器加载时开始看到此异常:

Uncaught ReferenceError: ytcfg is not defined when I see the console.

也是由于这个错误我的应用程序崩溃.

这个问题已在Uncaught ReferenceError: ytcfg is not defined (also __ytRIL is not defined)中提出 – 但是没有提及该问题,网站/应用程序崩溃了.

值得注意的是,相同的代码在Android OS(使用cordova开发的应用程序)上正常工作,但在其他操作系统上应用程序崩溃.

如何防止此应用程序崩溃?
提前致谢.

解决方法

这是Google API错误.你可以看到这里确认的错误:

https://code.google.com/p/gdata-issues/issues/detail?can=2&start=0&num=100&q=&colspec=API%20ID%20Type%20Status%20Priority%20Stars%20Summary&groupby=&sort=&id=8668

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读