嵌入的 YouTube 视频导致大量 net::ERR_BLOCKED_BY_CLIENT
Embedded YouTube video causes tons of net::ERR_BLOCKED_BY_CLIENT
我有一个网站,其中包含几个嵌入式 YouTube 视频,如下所示:
<iframe src="https://www.youtube.com/embed/UfvceH03iAc?origin=https://braintool.org" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
在我的控制台中,我遇到了很多这样的错误:
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
来自 googleads.g.doubleclick.net
我假设错误是从 iframe 内部抛出的,所以它可能超出了我的控制范围,但我不喜欢在控制台上看到所有的红色!快速 google 没有显示任何明显的内容。关于如何解决的任何想法?
谢谢
对我有用。我会说避免使用查询 (?origin=https://braintool.org)
看起来@randy-casburn 是对的。我在 Chrome 中安装了 Ad Block Plus 运行。当我关闭它时,错误消失了。
我有一个网站,其中包含几个嵌入式 YouTube 视频,如下所示:
<iframe src="https://www.youtube.com/embed/UfvceH03iAc?origin=https://braintool.org" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
在我的控制台中,我遇到了很多这样的错误:
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
来自 googleads.g.doubleclick.net
我假设错误是从 iframe 内部抛出的,所以它可能超出了我的控制范围,但我不喜欢在控制台上看到所有的红色!快速 google 没有显示任何明显的内容。关于如何解决的任何想法?
谢谢
对我有用。我会说避免使用查询 (?origin=https://braintool.org)
看起来@randy-casburn 是对的。我在 Chrome 中安装了 Ad Block Plus 运行。当我关闭它时,错误消失了。