cast_sender.js错误:无法在Chrome中加载资源:net :: ERR_FAILED [英] cast_sender.js error: Failed to load resource: net::ERR_FAILED in Chrome
问题描述
我最近开始收到以下控制台错误,而未进行任何代码更改.
I recently started receiving the following console errors, without any code changes taking place.
我最近没有安装任何扩展程序.
I did not install any extensions recently.
Failed to load resource: net::ERR_FAILED chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js
Failed to load resource: net::ERR_FAILED chrome-extension://hfaagokkkhdbgiakmmlclaapfelnkoah/cast_sender.js
Failed to load resource: net::ERR_FAILED chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/cast_sender.js
Failed to load resource: net::ERR_FAILED chrome-extension://fmfcbgogabcbclcofgocippekhfcmgfj/cast_sender.js
Failed to load resource: net::ERR_FAILED
我在页面上嵌入了多个YouTube播放器,它们触发了此错误,但是它们很简单:
I have several YouTube player embeds on the page that are triggering this error, but they are simple:
<iframe width="100%" height="100%" src="http://www.youtube.com/embed/OUR_YOUTUBE_ID?showinfo=0&wmode=transparent" frameborder="0" allowfullscreen=""></iframe>
还有其他人经历过吗?
推荐答案
显然,即使未安装扩展程序,YouTube也会不断轮询Google Cast脚本.
Apparently YouTube constantly polls for Google Cast scripts even if the extension isn't installed.
来自一个 评论者 :
...看来,Chrome尝试在具有YouTube内容的页面上获取cast_sender.js.我猜测Chrome何时会看到可以流式传输的媒体,并尝试访问Chromecast扩展程序.如果扩展名不存在,则会引发错误.
... it appears that Chrome attempts to get cast_sender.js on pages that have YouTube content. I'm guessing when Chrome sees media that it can stream it attempts to access the Chromecast extension. When the extension isn't present, the error is thrown.
我遇到的唯一解决方案是安装 Google投放 扩展程序,无论是否需要.然后,您可以隐藏工具栏按钮.
The only solution I've come across is to install the Google Cast extension, whether you need it or not. You may then hide the toolbar button.
有关更多信息和更新,请参见 此SO问题 .这是 官方问题 .
For more information and updates, see this SO question. Here's the official issue.
这篇关于cast_sender.js错误:无法在Chrome中加载资源:net :: ERR_FAILED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!