Is there any VR video player software that can be controlled through localhost / api?

Basically this. I want to create a script that allows me to control the video player from another application set up in the playroom. I’m open to ideas. Thanks!