Pausing video when hidden

I have designed a website that revolves around a series of portfolio videos being hidden or revealed. Currently when a playing video becomes hidden, it continues to play, is it possible to pause this video using Wixcode?

Thank you

Does not seem like it
https://www.wix.com/code/reference/$w.Video.html

Hi,
I’m afraid that currently there’s no option to pause a video using code. You can suggest this as a feature request here .

Best,
Tal.