Streaming live at 10am (PST)

How can I pause a video after it has been played when the video is out of view

Hello Fam,
Can someone please help me on how to pause a video after it has been played when the video is out of view?
Currently I am using video testimonials and when I play the video scroll down the video still continues playing this is little annoying, this also happens if I scroll to next video slide and play it now both videos getting played.

Any way to stop this, I searched forums cannot find this solution