[SOLVED] How know when the VideoTexture is stoped

Hello guys.
I have a var videoTexture = new BABYLON.VideoTexture(....);
And I would like to know how you could know when the video is finished, to do another action when the video is finished.
Thank you

A video texture is using an underlying HTMLVideoCanvas element (which is available through videoTexture.video). Any event triggered on this video (native html) object can be used in babylon.js as well.

1 Like