I am building a children's app which have several different audio tracks depending on which page you are on, they auto play. I inserted them as html5 audio.
I created a mute button which can stop the audio. However, the problem i have is that when you navigate to a different page the music will start playing again.
What i need is some kind of mute button that will stop all audio in the app and for it to 'remember' the setting. Maybe a cookie or something i dont know the best solution, can anyone help and suggest?