Screencast button on videos

Hi, Webflow community!

I want to develop a Webflow-powered membership website for a fitness business. Members would be able to watch different videos based on their membership level. The key function here would be the ability to have a cast button on the videos, that would enable the user to cast directly from the video controls to a smart tv, apple play, or Chromecast, without having to enter chrome or phone settings (see the picture below).

image

Does anyone know how to build this? I was thinking to implement https://videojs.com/ with GitHub - silvermine/videojs-airplay and GitHub - silvermine/videojs-chromecast plugins, but I’m not sure how this would work with webflow.