# Video in WeWeb via Background or Video Element?

**URL:** https://community.weweb.io/t/video-in-weweb-via-background-or-video-element/7799
**Category:** How do I?
**Created:** [March 27, 2024, 4:52pm UTC](https://community.weweb.io/t/video-in-weweb-via-background-or-video-element/7799 "2024-03-27T16:52:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![archenia\_jsanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/archenia_jsanchez/32/8656_2.png) [@archenia\_jsanchez](https://community.weweb.io/u/archenia_jsanchez)
#### Post date: [March 27, 2024, 4:52pm UTC](https://community.weweb.io/t/video-in-weweb-via-background-or-video-element/7799/1 "2024-03-27T16:52:50Z")

</div>

I’m trying to insert a video into my UI, ideally as a background, but also tested using the video element. Neither are displaying the video as expected. Anybody else run into this and/or know how to resolve?

https://www.loom.com/embed/2b666b857b69491b9a83ee69eda1d551?sid=6d49ce39-6d9b-45ef-9732-369475a04da9

---

<div class="post-metadata">

### Author: ![archenia\_jsanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/archenia_jsanchez/32/8656_2.png) [@archenia\_jsanchez](https://community.weweb.io/u/archenia_jsanchez)
#### Post date: [March 27, 2024, 9:24pm UTC](https://community.weweb.io/t/video-in-weweb-via-background-or-video-element/7799/2 "2024-03-27T21:24:46Z")

</div>

Update on my end. I’ve found a workaround where I insert an HTML element, and link to the WeWeb hosted video file. Seems to achieve the same outcome, and provides maybe a bit more control over the video properties. Considering this feels like a workaround, I’ll keep this open to see if we uncover any insights with the native video element.

---

<div class="post-metadata">

### Author: ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)
#### Post date: [March 28, 2024, 6:47am UTC](https://community.weweb.io/t/video-in-weweb-via-background-or-video-element/7799/3 "2024-03-28T06:47:59Z")

</div>

Weird! Seems to happen only when inside of the WeWeb modal component. If I move it outside, it works.
