I can not pause a videtexure by a 2d button

I have a videotexture and a button to play or pause it. Code :


The log did switch between playing and paused, but in the babylon scene, the videotexure is always playing. Why’s that?

I just found that Sound has a similar problem. I don’t know if they are releated?

I think we will need a repro in the Playground as it does work here (click on the video to pause/play):

3 Likes

Thanks! It turns out that I ave two videotexures with same name, not babylon’s fault