benjipott / video.js-chromecast

Use chromecast with videojs html5 player
Other
207 stars 86 forks source link

There should be a way to "listen in" on the current casting session through the plugin #68

Open DoomTay opened 6 years ago

DoomTay commented 6 years ago

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