# \[Issue\] - Zoom Web SDK with picture-in-picture mode

**URL:** <https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564>\
**Category:** Web\
**Created:** [June 28, 2020, 8:24am UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564 "2020-06-28T08:24:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![manh.nguyentuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manh.nguyentuan/32/6871_2.png) [@manh.nguyentuan](https://devforum.zoom.us/u/manh.nguyentuan)\
**Post date:** [June 28, 2020, 8:24am UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/1 "2020-06-28T08:24:27Z")

</div>

**Description**  
Hi all, I have other problem with PiP (picture-in-picture). After joined a meeting, I need enable PiP feature for req “The video window should be constantly forced on top of any game that is open”. (We are trying to create a video call when playing a game)

At this point, I can use the Javascript on **Chrome** bellow:  
**let canvas = document.getElementById(‘sv-active-video’);**  
**let videoWrapper = document.createElement(‘video’);**  
**videoWrapper.muted = true;**  
**videoWrapper.srcObject = canvas.captureStream(60);**  
**videoWrapper.play();**  
**videoWrapper.requestPictureInPicture();**  
It’s worked, but if I minimized the browser or switch to other browser tab =\> The PiP is freeze until I active again the meeting tab.

So, can you please review it and suggest for me something to resolve it?

BTW, I want to ask if I can create a 1-1 meeting? I’ve read the API docs, but it’s seem can not.

**Which version?**  
“@zoomus/websdk”: “^1.7.7”

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [June 29, 2020, 7:45pm UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/2 "2020-06-29T19:45:17Z")

</div>

Hey @manh.nguyentuan,

So we are on the same page, you are trying to customize the Web SDK streams?

Can you share a screenshot or GIF of the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![manh.nguyentuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manh.nguyentuan/32/6871_2.png) [@manh.nguyentuan](https://devforum.zoom.us/u/manh.nguyentuan)\
**Post date:** [July 8, 2020, 11:13am UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/3 "2020-07-08T11:13:07Z")

</div>

Hi @tommy, so sorry for the later feedback. Also, I’ve attached a video at Google driver that to explain my issue. Please download ([Zoom issue video](https://drive.google.com/file/d/1vkaCpKRmBkUP1aJZ45AZa3T167USM7W8/view?usp=sharing)) and review it.

“you are trying to customize the Web SDK streams?” =\> No Tom, my expect are I can enable the PiP mode (on Chrome & Safari) without freeze issue.

It’s great if your team can resolve it.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 13, 2020, 8:02pm UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/4 "2020-07-13T20:02:25Z")

</div>

Hey @manh.nguyentuan,

We will look into this issue and get back to you. (CS-2043)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![manh.nguyentuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manh.nguyentuan/32/6871_2.png) [@manh.nguyentuan](https://devforum.zoom.us/u/manh.nguyentuan)\
**Post date:** [July 18, 2020, 2:22pm UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/5 "2020-07-18T14:22:59Z")

</div>

Many thanks @tommy. Please let me know if your team has resolved it. thanks in advance!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 21, 2020, 9:51pm UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/6 "2020-07-21T21:51:04Z")

</div>

Will do! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![manh.nguyentuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/manh.nguyentuan/32/6871_2.png) [@manh.nguyentuan](https://devforum.zoom.us/u/manh.nguyentuan)\
**Post date:** [August 4, 2020, 10:17am UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/7 "2020-08-04T10:17:44Z")

</div>

Hi @tommy, any update on this?

Also, please let me know if I can see the **CS-2043** status?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 5, 2020, 7:12pm UTC](https://devforum.zoom.us/t/issue-zoom-web-sdk-with-picture-in-picture-mode/22564/8 "2020-08-05T19:12:53Z")

</div>

Hey @manh.nguyentuan,

No updates yet, I have just asked engineering to look at it as soon as possible.

The status can only be seen internally. I will keep you updated here on the fix.

Thanks,  
Tommy
