For example, I have a video player that uses ASS subtitles thanks to videojs-ass, but I noticed that the subtitles show up on the PC screen while casting, so I need a way to listen for cast start and stop so I can hide/show the subtitle overlay accordingly.
Another example: hiding or doing something with the control bar when an ad comes up
For example, I have a video player that uses ASS subtitles thanks to videojs-ass, but I noticed that the subtitles show up on the PC screen while casting, so I need a way to listen for cast start and stop so I can hide/show the subtitle overlay accordingly.
Another example: hiding or doing something with the control bar when an ad comes up