Auto pausing audio?


Recently moved from an iPhone to a moto g5 - one function that I used to have that I don't have now is that when I'm listening to music or a podcast and start a video in a different app the music still plays in the background while the video plays. Anyway having this auto pause while I open a different media player?