I have a website where I am hosting my WebGL games. Lets say I open Game1 and its music plays, if I then click on a navigation button on my website and am now on my homepage for instance I can still hear Game1 running.
Why does it persist in the background even though I am no longer on that page?
This is a nightmare because if I have a user switching between games they will both go deaf and their browser will eat up all of their resources.
Please can someone help?