Why can't I turn off Google Cast scripts when using <mux-video>? #58
-
I'm using mux for a simple website auto-playing video and from what I can see, loads this Google script: https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1 Which in turn loads two more scripts: Even with a disableremoteplayback attribute which I believe should block use of casting, and a chromecast="false" attribute (I think ChatGPT gave me that suggestion), I can't stop these scripts from loading. I don't want Google scripts. I don't want unnecessary scripts. Can anyone advise how best to stop these scripts please? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Thanks for the feedback. I think that's a valid request. I'll move this to an issue in the repo that contains the castable-video project. |
Beta Was this translation helpful? Give feedback.
-
this is supported in the latest release 🎉 adding the |
Beta Was this translation helpful? Give feedback.
this is supported in the latest release 🎉
adding the
disableremoteplayback
attribute or in React addingdisableRemotePlayback={true}
will prevent the loading of the cast scripts.