# Why Does \<video-player\> Render as a \<div\> with SharedArrayBuffer Enabled, but as a \<video\> Otherwise — and How Can I Style It?

**URL:** <https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322>\
**Category:** Web\
**Created:** [September 13, 2025, 4:06am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322 "2025-09-13T04:06:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![devtesting492](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devtesting492/32/65966_2.png) [@devtesting492](https://devforum.zoom.us/u/devtesting492)\
**Post date:** [September 13, 2025, 4:06am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/1 "2025-09-13T04:06:12Z")

</div>

Here is the codes for reference:

```auto
<video-player-container data-v-423765ad="" class="video-player" style="display: block; position: relative;">
   <video-player node-id="16778240" media-type="video" style="width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center center !important; border-radius: 16px !important; display: block !important; position: absolute !important; top: 0px !important; left: 0px !important; z-index: 1 !important; image-rendering: auto !important; transform: translateZ(0px) !important; will-change: transform !important;">
      <div style="width: 100%; height: 100%;"></div> <-- This is the video -->
   </video-player>
</video-player-container>

```

I’d like to know how I can style it, and whether there are any options for using the `<video>` tag again.

---

<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:** [September 15, 2025, 2:26am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/2 "2025-09-15T02:26:04Z")

</div>

Hey @devtesting492

Thanks for your feedback.

Whether the `video-player` internally uses a `video` tag depends on which video solution is being used. If you’re on version 2.1.0 or above, you can explicitly enable the WebRTC video solution by setting `video_webrtc_mode: 1` in the JWT. Otherwise, the SDK will automatically decide which video solution to use.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![devtesting492](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devtesting492/32/65966_2.png) [@devtesting492](https://devforum.zoom.us/u/devtesting492)\
**Post date:** [September 17, 2025, 9:45am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/3 "2025-09-17T09:45:20Z")

</div>

Thanks for clarifying. Since we’re on version 2.1.0 or above, I’ll explicitly set `video_webrtc_mode: 1` in the JWT to ensure the WebRTC video solution is used, instead of relying on the SDK to decide automatically 🙏

---

<div class="post-metadata">

**Author:** ![devtesting492](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/devtesting492/32/65966_2.png) [@devtesting492](https://devforum.zoom.us/u/devtesting492)\
**Post date:** [September 18, 2025, 2:07pm UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/4 "2025-09-18T14:07:17Z")

</div>

Hi @vic.yang

I’d like to confirm whether the WebRTC video solution is supported in Firefox. I tried using `video_webrtc_mode: 1` in the JWT, but it doesn’t seem to work.

---

<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:** [September 19, 2025, 12:18am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/5 "2025-09-19T00:18:54Z")

</div>

Hi @devtesting492

> I’d like to confirm whether the WebRTC video solution is supported in Firefox.

Currently, WebRTC video solution is not supported on Firefox.

We are continuously iterating and updating, and this will be supported in a future release. Please stay tuned.

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 19, 2026, 12:19am UTC](https://devforum.zoom.us/t/why-does-video-player-render-as-a-div-with-sharedarraybuffer-enabled-but-as-a-video-otherwise-and-how-can-i-style-it/137322/6 "2026-09-19T00:19:06Z")

</div>

Closed on September 19, 2026, 12:19am UTC

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