Copy link to clipboard
Copied
Hello,
I'm using an IFRAME to share an XD prototype.
In my HTML page I have my IFRAME embedded and centred (vertically / horizontally). I would like to use the space around the prototype to send keyboard commands to the prototype. For keypress simulation I'm using javascript which works. Unfortunately I'm not 100% sure on how to setup the communication between the Window.postMessage() on my page and the XD IFRAME prototype as my website is hosted on my domain and the XD prototype lives in Adobe's cloud.
Do you have an example that you could share of such communication?
Thank you.
Have something to add?