本文介绍了cast_sender.js 错误:无法加载资源:Chrome 中的 net::ERR_FAILED的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始收到以下控制台错误,但没有进行任何代码更改.

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&amp;wmode=transparent" frameborder="0" allowfullscreen=""></iframe>

有没有其他人经历过这种情况?

Has anybody else experienced this?

推荐答案

显然,即使未安装扩展程序,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 扩展程序.如果扩展名不存在,则会引发错误.

阅读更多

我遇到的唯一解决方案是安装 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!