# Unable to change rendered video to be a circle using attachVideo

**URL:** <https://devforum.zoom.us/t/unable-to-change-rendered-video-to-be-a-circle-using-attachvideo/115157>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [August 6, 2024, 11:20pm UTC](https://devforum.zoom.us/t/unable-to-change-rendered-video-to-be-a-circle-using-attachvideo/115157 "2024-08-06T23:20:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Billy117](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@Billy117](https://devforum.zoom.us/u/Billy117)\
**Post date:** [August 6, 2024, 11:20pm UTC](https://devforum.zoom.us/t/unable-to-change-rendered-video-to-be-a-circle-using-attachvideo/115157/1 "2024-08-06T23:20:05Z")

</div>

I would like to get rendered videos to be a circle using the zoom video sdk. I also have some questions about the using attachVideo over renderVideo.

It seems like the documentation changed and it recommends using `attachVideo` instead of `renderVideo`. Does this mean we do not need a `canvas` element at all for other people’s videos? Will all of the other participants’ videos be rendered in the `video-player-container?`

I have since switched from using `renderVideo` to `attachVideo` so I can make each of the videos a circle. However, when using `attachVideo`, I am still unable to change the rendered video. I can turn the self-video into a circle because it uses a `video` element, but the `video-player` elements seem to not be able to be changed.

In the image below, you can see I changed the `video-player` element to have `border-radius: 50%`. I also changed the background color to red to show the element is, in fact, changing, but the rendered video remains the same. What is the best way to get the rendered video to change into a circle.

 ![Screenshot 2024-08-06 at 3.09.00 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/9/e900248ec2a9c0155976e3dffc4b3f48b608e110.jpeg)

---

<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:** [August 7, 2024, 12:08pm UTC](https://devforum.zoom.us/t/unable-to-change-rendered-video-to-be-a-circle-using-attachvideo/115157/2 "2024-08-07T12:08:35Z")

</div>

Hey @Billy117

Thanks for your feedback.

> Does this mean we do not need a `canvas` element at all for other people’s videos? Will all of the other participants’ videos be rendered in the `video-player-container?`

Yes. `video-player` is aimed to simplify the coordinate calculations of video on canvas. Additionally, we have built-in the canvas within the `video-player-container`.

> but the `video-player` elements seem to not be able to be changed.

It’s a current limitation in our implementation. We are developing and testing a new WebRTC-based video solution that will address the issue of circular videos, and it will be released soon.

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:** [September 6, 2024, 10:08pm UTC](https://devforum.zoom.us/t/unable-to-change-rendered-video-to-be-a-circle-using-attachvideo/115157/3 "2024-09-06T22:08:53Z")

</div>

Closed on September 6, 2024, 10:08pm UTC

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