Hi there! I have some special use-case:
I want to showcase a device with 2 screens in my Portfolio. I created a simple HTML with 2 iframes containing a Figma prototype from the same design file:
edit: here is the html hosted on github: https://dimalei.github.io/
here is a snippet of my html:
<body>
<div class="rx2frame">
<!-- <img src="RX2.png" alt="Device Frame"></img> -->
<div class="mainsceencontainer">
<iframe class="mainsceeniframe" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fproto%2FmMm6yNeXdlZDWKRgFBwgY1%2FPrototype-Testing%3Ftype%3Ddesign%26node-id%3D11-4349%26t%3D6f8h7P0lzoUoRzbh-1%26scaling%3Dscale-down-width%26page-id%3D0%253A1%26starting-point-node-id%3D11%253A4349%26mode%3Ddesign&hide-ui=1" allowfullscreen></iframe>
</div>
<div class="secondsceencontainer">
<iframe class="secondsceeniframe" src="https://www.figma.com/embed?embed_host=share&url=https%3A%2F%2Fwww.figma.com%2Fproto%2FmMm6yNeXdlZDWKRgFBwgY1%2FPrototype-Testing%3Ftype%3Ddesign%26node-id%3D39-8%26t%3DQnULlb1C0jzRfN57-1%26scaling%3Dscale-down-width%26page-id%3D0%253A1%26starting-point-node-id%3D39%253A8%26show-proto-sidebar%3D1%26mode%3Ddesign&hide-ui=1" allowfullscreen></iframe>
</div>
</div>
</body>
Is there any way to have the two prototypes interact? I tried setting a variable when navigating to a different screen on top. Unfortunately it does not affect the second instance of the prototype: