Use chrome-cast in ionic app

Hello everyone,
I have an Ionic 5 app which plays video tutorials and i need to add chrome cast function, I have tried to use GitHub - jellyfin/cordova-plugin-chromecast: Chromecast Plugin for Cordova plugin and i am not sure how to use and whether it supports ionic, Can someone please tell me whether chrome cast is supported in Ionic and show me how
Thank you