Not a JS guy but have 2p thoughts.
IIRC, iframe should never be able to talk outside with parent.
Unless there is a js script on both sides that communicates.
So you’ll need access to the server serving content from inside the iframe. And the server hosting the iframe.
Had a client where we needed to iframe a bubble dashboard in his main wordress.
Couldn’t get responsive to work. Although this plugin is quite useful. http://www.tinywebgallery.com/blog/advanced-iframe
Thanks a lot for that - the client controls both the parent website and iframe website so I think we can put a script in both to communicate somehow. Thanks for the link - shall take a look!