Still confused with video texture

Hello! I’m still confused as to where should I place my video URL on this code I’m referencing and if the texture I’m applying it to should be clean (e.g. just a white background). There are no errors whatsoever when I launch the project but I don’t see the video playing.

Here is the link to the project: https://playcanvas.com/editor/scene/1209484

Hi @rainstormz and welcome,

If you are using the default video texture tutorial, then change this line:

    // set video source
    video.src = this.video ? this.video.getFileUrl() : this.videoUrl;

To:

    // set video source
    video.src = 'https://my.video.url';

https://developer.playcanvas.com/en/tutorials/video-textures/

1 Like