# Getting play() request error on rendering self video via video-player-container

**URL:** <https://devforum.zoom.us/t/getting-play-request-error-on-rendering-self-video-via-video-player-container/107156>\
**Category:** Video SDK\
**Tags:** video-sdk\
**Created:** [April 4, 2024, 3:19am UTC](https://devforum.zoom.us/t/getting-play-request-error-on-rendering-self-video-via-video-player-container/107156 "2024-04-04T03:19:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam9](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@sam9](https://devforum.zoom.us/u/sam9)\
**Post date:** [April 4, 2024, 3:19am UTC](https://devforum.zoom.us/t/getting-play-request-error-on-rendering-self-video-via-video-player-container/107156/1 "2024-04-04T03:19:23Z")

</div>

### Format Your New Topic as Follows:

**Video SDK Type and Version**  
video sdk npm version 1.10.8 for web

**Description**  
The play() request was interrupted by a new load request

**Error?**  
ERROR Error: Uncaught (in promise): AbortError: The play() request was interrupted by a new load request.

**Troubleshooting Routes**  
This error only happens when trying to render self video via the video-player-container attachment method as seen in the docs. If I attach the video by checking to see if video/canvas element is correct than attach not getting the error.

**How To Reproduce**  
_Steps to reproduce the behavior including:_  
Follow the steps exactly shown on the zoom developer video docs here: [Video SDK - web - Core features](https://developers.zoom.us/docs/video-sdk/web/video/)

The following code which matches the example is logging this error:

typescript:

```auto
            stream.attachVideo(videoRoom.getCurrentUserInfo().userId, 3).then(userVideo => {
                document.querySelector('video-player-container').appendChild(userVideo)
            });
        });

```

html:

```auto
<video-player-container></video-player-container>

```

---

<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:** [April 22, 2024, 7:53am UTC](https://devforum.zoom.us/t/getting-play-request-error-on-rendering-self-video-via-video-player-container/107156/2 "2024-04-22T07:53:12Z")

</div>

Hey @sam9

Thanks for your feedback.

The issue arises because the initially captured video stream is applied to a Video SDK-inside dummy video element (which is hidden). When using `stream.attachVideo`, we pause the original video element’s play and apply it to the new video-player element, which is the expected behavior.

You can safely ignore this browser error as it does not affect the functionality.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ekaansh.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ekaansh.zoom/32/55004_2.png) [@ekaansh.zoom](https://devforum.zoom.us/u/ekaansh.zoom)\
**Post date:** [April 29, 2024, 1:54pm UTC](https://devforum.zoom.us/t/getting-play-request-error-on-rendering-self-video-via-video-player-container/107156/3 "2024-04-29T13:54:07Z")

</div>

Closed on April 29, 2024, 1:54pm UTC


