# Zoom gallery view is not working iweb sdk when I am using it in iFrame

**URL:** <https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701>\
**Category:** Web\
**Tags:** api\
**Created:** [June 11, 2024, 4:50am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701 "2024-06-11T04:50:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [June 11, 2024, 4:50am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/1 "2024-06-11T04:50:58Z")

</div>

**Description**  
I am using the Zoom Meeting Web SDK, but the gallery view is not working when joining a meeting. The “View” button is missing. I am using an iframe for the Web SDK.

**Which Web Meeting SDK version?**  
2.12.0

**Screenshots**

 ![screenshot--2024.06.10-19_50_06](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/3/d36b259fc438268d38f0b525c08fa7d2b3d49673.png)

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [June 11, 2024, 7:08pm UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/2 "2024-06-11T19:08:55Z")

</div>

have you enabled **SharedArrayBuffer** in the iframe **and** the outer html page?

> **[Meeting SDK - web - SharedArrayBuffer](https://developers.zoom.us/docs/meeting-sdk/web/sharedarraybuffer/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [June 12, 2024, 4:49am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/3 "2024-06-12T04:49:05Z")

</div>

Yes, SharedArrayBufferis enabled

typeof SharedArrayBuffer === ‘function’ return true

Now, For panelist ‘View’ button is visible and they can see gallery view and attendee does not have ‘View’ button and gallery view.

**Panelist with View button and can see gallery view**

 ![screensho-2024.06.10-19_48_54](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/5/25c93f034bc85e8b49489cfd2f0f61360060ca1a.png)

**Attendee without View button**

 ![screenshot--2024.06.10-19_50_06](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/3/d36b259fc438268d38f0b525c08fa7d2b3d49673.png)

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [June 12, 2024, 7:40am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/4 "2024-06-12T07:40:01Z")

</div>

in the Panellist you can activate Gallery View for the Attendee View

 ![zoom](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/4/7400a44be40bbd4316f0ed7ffffd849c86a77aa6.png)

---

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [June 12, 2024, 7:43am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/5 "2024-06-12T07:43:11Z")

</div>

[Jürgen](https://devforum.zoom.us/u/j.schoenemeyer)[j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)

I have already tried that, its not working.

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [June 12, 2024, 3:19pm UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/6 "2024-06-12T15:19:39Z")

</div>

try testing with the host and TWO attendees at the same time

does the view button appears now for the attendees?

---

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [July 3, 2024, 2:59pm UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/7 "2024-07-03T14:59:24Z")

</div>

@j.schoenemeyer

Hi

I have added the headers in htaccess to enable the SharedArrayBuffer for Gallery View.

Cross-Origin-Embedder-Policy: require-corp  
Cross-Origin-Opener-Policy: same-origin

with reference to [Meeting SDK - web - SharedArrayBuffer](https://developers.zoom.us/docs/meeting-sdk/web/sharedarraybuffer/)

but when I added these header I am getting error for other 3rd party resources like for **[www.youtube.com](http://www.youtube.com)** refused to connect or other 3rd party js/css.

Can you please help me with this.

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [July 3, 2024, 4:34pm UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/8 "2024-07-03T16:34:47Z")

</div>

> but when I added these header I am getting error for other 3rd party resources like for **[www.youtube.com](http://www.youtube.com)** refused to connect or other 3rd party js/css.

this is not a bug - ‘Cross-Origin Isolation’ is exactly to prevent third party website from spy on zoom meetings when SharedArrayBuffer is active

---

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [July 4, 2024, 11:40am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/9 "2024-07-04T11:40:54Z")

</div>

Thank you for your reply.

So it means if we enable the ‘Cross-Origin Isolation’ it will always blocks the 3rd party requests?

Is there any way to allow some resources?

---

<div class="post-metadata">

**Author:** ![tekditechnologies](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tekditechnologies/32/49434_2.png) [@tekditechnologies](https://devforum.zoom.us/u/tekditechnologies)\
**Post date:** [July 5, 2024, 10:25am UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/10 "2024-07-05T10:25:47Z")

</div>

> [@j.schoenemeyer](#):
>
> ndee

Hi , I have tried with host and multiple attendees but still I am not getting ‘View’ button for attendees.

Can you please help with this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 4, 2024, 8:26pm UTC](https://devforum.zoom.us/t/zoom-gallery-view-is-not-working-iweb-sdk-when-i-am-using-it-in-iframe/111701/11 "2024-08-04T20:26:02Z")

</div>

Closed on August 4, 2024, 8:26pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
