Video and Gif not working in the model and unable to play gif and video?

How can I add a video and gif into the model

i want to add both videos and gifs

You can’t use .gif as a video texture. You need like an mp4 or something… and use a VideoTexture.

Here’s some examples:

https://threejs.org/docs/#api/en/textures/VideoTexture