cast_sender.js error: Failed to load resource: net::ERR_FAILED in Chrome

前端 未结 6 984
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 10:59

I recently started receiving the following console errors, without any code changes taking place.

I did not install any extensions recently.

Failed t         


        
6条回答
  •  情歌与酒
    2020-12-07 11:48

    Apparently YouTube constantly polls for Google Cast scripts even if the extension isn't installed.

    From one commenter:

    ... 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.

    Read more

    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.

    For more information and updates, see this SO question. Here's the official issue.

提交回复
热议问题