How do I keep an audoplayer functioning while user changes "pages"

How do I keep an audoplayer functioning while user changes "pages"

Looking to implement functionality similar to say spotify or audiomack, where as users can click through various pages while sound-player remains within a sticky footer on top of all other content.