# Video SDK on iframe

**URL:** <https://devforum.zoom.us/t/video-sdk-on-iframe/132823>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [May 15, 2025, 8:27pm UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823 "2025-05-15T20:27:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablother3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pablother3/32/64962_2.png) [@pablother3](https://devforum.zoom.us/u/pablother3)\
**Post date:** [May 15, 2025, 8:27pm UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823/1 "2025-05-15T20:27:00Z")

</div>

I am trying to use the video SDK using an iFrame however, I am getting an error:

```auto
{
errorCode: 6100,
message: "",
name: "OverconstrainedError",
type: "VIDEO_USER_FORBIDDEN_CAPTURE"
}

```

This is my code of implementation:

```auto
<iframe src="url"
      loading="lazy"
      allow="camera; microphone; geolocation; autoplay; display-capture"
      width="100%"
      height="100%"
      title="Video Call Iframe"
      id="videocall-iframe"
      class="border-none block h-full w-full resize"
    ></iframe>

```

Not sure what is missing, I cannot find any other documentation related

* * *

@zoom/videosdk: 2.1.10

**Description**

I followed these docs about _Best practices using the Video SDK in an iFrame_ , but it seems it’s still an error even with permissions to the iframe

**How To Reproduce**

- Iframe added from a Vue App
- Zoom SDK version 2.1.10
- Chrome Browser version 135.0.7 and Camera/microphone allowed
- OS Windows or Mac

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 16, 2025, 12:18am UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823/2 "2025-05-16T00:18:17Z")

</div>

Hey @pablother3

Thanks for your feedback.

Could you share some problematic session IDs with us for troubleshooting purposes?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![pablother3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pablother3/32/64962_2.png) [@pablother3](https://devforum.zoom.us/u/pablother3)\
**Post date:** [May 16, 2025, 4:55pm UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823/3 "2025-05-16T16:55:26Z")

</div>

Hi Vic,

Yes, I have this session ID about a call finished: `TxKgcfoYRn6bmGtH4BbxlA==`

Please let me know if something changed or am I doing something wrong

UPDATE:  
I just realized that my last version which worked was 1.11.6 and when I updated to 2.1.10 my implementation was totally broken, I guess because SDK is not using id refs anymore.

Just to clarify it was not iFrame issue. It was just a breaking change between version 1.11 and \>= 1.12

Thank you anyways for the response

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [May 19, 2025, 1:54am UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823/4 "2025-05-19T01:54:31Z")

</div>

Hey @pablother3

> TxKgcfoYRn6bmGtH4BbxlA==

After analyzing the logs, we found that on the desktop browser, the `stream.startVideo` method was called with `'user'` as the camera ID, which is incorrect. This is why you encountered the `VIDEO_USER_FORBIDDEN_CAPTURE` error with the error name `OverconstrainedError`.

In earlier versions of the Video SDK, the specified camera ID was not strictly enforced—if the camera ID didn’t match, it would fallback to the default device.

Thanks  
Vic

---

<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:** [May 22, 2025, 7:22pm UTC](https://devforum.zoom.us/t/video-sdk-on-iframe/132823/5 "2025-05-22T19:22:07Z")

</div>

Closed on May 22, 2025, 7:22pm UTC

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