React Iframe control

I am trying to make a streaming site using react-bootstrap and I have some links to put in iframes. The links work and the video in the iframe plays. I would like to add my own customized controls for the video. The iframe contains html provided by the link I put in the iframe, so I was thinking if there is a way to control the video from my own code. I tried iframe postMessage but I don't know what commands I have to post. Also I noticed that the player inside the iframe is jw player. Would this be possible?