# 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:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas.sing](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas.sing/32/42006_2.png) [@lucas.sing](https://devforum.zoom.us/u/lucas.sing)\
**Post date:** [January 16, 2023, 3:04pm UTC](https://devforum.zoom.us/t/iframe-on-layers/81525/1 "2023-01-16T15:04:30Z")

</div>

Hello,  
I am wondering if LayersAPI supports the use of iframes. I am trying to display a Google Slides iframe in my Zoom meeting, and it is working perfectly when viewed in the main client. However, when I switch to the camera view, the iframe becomes invisible. Has anyone else experienced this issue or know if there is a solution?  
In the image at the left of “TEST” should be displayed my slide iframe.

 ![Untitled-1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/c/0c53fac96a4d610f8b347dc00082b1986c30ec0c.jpeg)

The ones working on the main client shows that is not related to domain restrictions… I really don’t know why the iframe is invisible on camera. Any help would be greatly appreciated.

Thank you!

---

<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 18, 2023, 1:58am UTC](https://devforum.zoom.us/t/iframe-on-layers/81525/3 "2023-01-18T01:58:49Z")

</div>

Are you seeing any errors in the JavaScript console when the iFrame is missing? I’ll check with our team to confirm if this is supported.

---

<div class="post-metadata">

**Author:** ![lucas.sing](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lucas.sing/32/42006_2.png) [@lucas.sing](https://devforum.zoom.us/u/lucas.sing)\
**Post date:** [January 18, 2023, 11:39am UTC](https://devforum.zoom.us/t/iframe-on-layers/81525/4 "2023-01-18T11:39:53Z")

</div>

There are no errors in the JS console, but I think the layer logs (inCamera) are not visible. Is there any way to see the inCamera logs as I can only see the logs from the mainClient?

---

<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.
