# Iframe on layers

**URL:** <https://devforum.zoom.us/t/iframe-on-layers/81525>\
**Category:** Zoom Apps\
**Created:** [January 16, 2023, 3:04pm UTC](https://devforum.zoom.us/t/iframe-on-layers/81525 "2023-01-16T15:04:30Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 19, 2023, 1:49am UTC](https://devforum.zoom.us/t/iframe-on-layers/81525/5 "2023-01-19T01:49:06Z")

</div>

The best way is to use the postMessage and onMessage functions to pass data between the in-client and in-camera instances of the app.

I recently covered this in this post:

> [@Runaway process created using Layers API](https://devforum.zoom.us/t/runaway-process-created-using-layers-api/74436/9):
>
> Thanks for sending that my way! Looking at the reference it doesn’t look like that option is supported: [https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/#installation](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/#installation) I’ll work with our documentation team to make sure that our documentation matches the current version of our code. We’ll work to make the camera mode more debuggable as I can see why that would be a barrier when developing. In the meantime, you should be able to use the promise resolution in conjunction with zoomSdk…

Let me know if that helps.

---

_[View the full topic](https://devforum.zoom.us/t/iframe-on-layers/81525)._
