I have a problem with stopping the music when on different tab.
I use "browser" plugin and event "on page hidden" but nothing happens. Could you tell me is there a chance to fix that? Or maybe I do something wrong...
Confirmed (if my coding is correct)
<img src="http://dl.dropbox.com/u/36472942/construct/bugs/browser-hidden_bug.PNG" border="0" />
Neither of the two browsers condition stops the music or display an alert window.
Tested in Chrome and FF.
Develop games in your browser. Powerful, performant & highly capable.
Ah, the spec for page visibility is still being worked on. I've fixed it for the next build: it will work in Chrome, but Firefox support isn't coming till Firefox 10, and IE support isn't coming till IE10. I wouldn't rely on those events for anything serious for the time being.
This is very sad to be honest... It's very annoying when music is still playing when you are checking other pages. But if there's no other choice, I'll just wait.