# Problem with video texture

**URL:** <https://discourse.threejs.org/t/problem-with-video-texture/24390>\
**Category:** Questions\
**Tags:** textures\
**Created:** [March 15, 2021, 8:31am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390 "2021-03-15T08:31:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ofek\_nakar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ofek_nakar/32/15154_2.png) [@ofek\_nakar](https://discourse.threejs.org/u/ofek_nakar)\
**Post date:** [March 15, 2021, 8:31am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390/1 "2021-03-15T08:31:27Z")

</div>

hey and good morning, i have trouble with the video texture as you can see in the image on the left the code and on click on the document the video playing but only audio without the video itself… what i’m doing wrong ?

 ![Screenshot (40)](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/a/f/af1516974ff159967ce13358ea79559090bf1ffc.png)

---

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [March 15, 2021, 8:33am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390/2 "2021-03-15T08:33:32Z")

</div>

Hi!  
Try to use `MeshBasicMaterial` instead of `MeshStandardMaterial`.

---

<div class="post-metadata">

**Author:** ![ofek\_nakar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ofek_nakar/32/15154_2.png) [@ofek\_nakar](https://discourse.threejs.org/u/ofek_nakar)\
**Post date:** [March 15, 2021, 8:38am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390/3 "2021-03-15T08:38:21Z")

</div>

> [@prisoner849](#):
>
> `MeshBasicMaterial` i

thanx, i found my problem was that i forgot to set needsUpdate to true each frame 🙂 if you have idea how can i flip the video texture it will be great

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [March 15, 2021, 9:20am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390/4 "2021-03-15T09:20:58Z")

</div>

If you want to use a video as a data source for a texture, use the [VideoTexture](https://threejs.org/docs/index.html?q=videote#api/en/textures/VideoTexture) class. You don’t have to manage `needsUpdate` by yourself then and the texture upload is actually more optimized (since it is not required to upload the texture per frame).

---

<div class="post-metadata">

**Author:** ![ofek\_nakar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ofek_nakar/32/15154_2.png) [@ofek\_nakar](https://discourse.threejs.org/u/ofek_nakar)\
**Post date:** [March 15, 2021, 9:59am UTC](https://discourse.threejs.org/t/problem-with-video-texture/24390/5 "2021-03-15T09:59:57Z")

</div>

Thank you, i will check it now 🙂
