Use SMART Play
To access SMART Play settings visit Player Controls here -
Once you move the toggle on, you'll open advanced settings where you will have the option to further determine when the video is paused/played.
These options are:
Checking lost scroll will pause the video whenever someone is scrolling down you page leaving the video behind.
Checking lost focus will pause the video whenever someone is switching tabs while the video is active.