Play video texture on button press

Hi,

I have a video texture, no sound, that I want to play when I press a button. I added the VideoControls component to the GLTF object which contains the video material, and I tried to add a listener for ecs.events.VIDEO_CAN_PLAY_THROUGH to the GLTF object , but the listener never triggers.

Nevermind, I got it working by using a simple plane.

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.