Have a read through this article. there is a good section on getting the best from Plex to Chromecast through the Quality settings and Transcoding options, which may be of use. - https://www.comparitech.com/plex/plex-chromecast/
I can't see any way of installing Plex directly "into" the...