Want to stop an embedded video when not seen

I’m working on a project with multiple videos. I can play the video fine but when I navigate away from the video, back to the main menu, the audio of the video keeps playing even though the picture can’t be seen. Is there a way to stop a video when it’s not active?

I posted a demo code Here it should help you get the coding for yours.

Steve

Hi there. The answer is yes. You just have to call you object and pass one of argumentation like.: your_video_name.stop() or .play().

Obs.: Need to drag your videoObject into the Hierarchy or call it by Media Library or even in another symbol located in Symbol Definitions.

Sorry for the delay in responding. I was able to figure it out with Steve’s example. Thanks!

2 Likes