Playing video with 3rd party video player

Hi, I am creating an app that can stream videos, but ionic streaming-media is really slow and takes ages to load the video whereas mx player can play the same link within seconds, so I am thinking of implementing mx player but I don’t know how. I have been looking for a way to play videos with mx/vlc but had zero luck so far, so I am writing here. Can anyone please help me figure out a way to play video with mx player/ vlc player.

Sorry if I am posting it in the wrong category.

Thanks a lot in advance