Make Audio Element Persistent Across Pages

I'm making a radio site and as part of that there's a listen live element which uses an audio plugin. When the user clicks on a navigation item to bring them to a new page the audio stops (understandably).

Is there a way to keep the audio playing smoothly?

Topic audio navigation pages Wordpress

Category Web


Maybe the "normal" wordpress themes are not the right tool here, and what you need is a "headless" wordpress with {insert JS framework} to get the content via the json API and handle the page routing without performing actuall page refresh.

Another possible solution is to turn it from audio to video as browsers now have the capability to detach a video out of the browser window which means they should not be impacted by browser navigation

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.