How to Stop Project from Playing When User Not on Screen?

Hi everyone, I’m working on an e-learning project and one of the requirement is to ensure that the module will be paused when user is not on the main screen (user change to other tabs/browser). Is it possible to do this in Captivate? I’m at a dead end. Hope that the community can help. Thank you.