Get VideoTexture by id/name?

Is there a way to get a videoTexture by id/name?
I assumed when creating a VideoTexture the first parameter is an ID but doing document.getElementsById doesn’t seem to work.

Any thoughts?

You can get a texture by using scene.getTextureByUniqueID(): it will also work for video textures.

1 Like

Thanks this worked for me!