When looking through the code of the "Audio" plugin, I saw a
Is it possible to use it as a "pause" function, or is it for something else ?
Suspending is when the entire app is going in to the background and events stop running. I could add a pause option, but like most other audio features it's not supported everywhere.
Is it possible to have work at least on Firefox & Chrome ?
Not in the current FF at least, but I guess it should be possible by FF 15.
The FF guys seems to aim for FF15 to be big about HTML5 gaming and are currently working on improving audio and other current features.
Kyatric : I'm surprised, because when checking on the MDN, I see that you can call .pause() in FF on media elements.
Develop games in your browser. Powerful, performant & highly capable.
Pode: I was in an IRC channel on mozilla's IRC and they were saying the audio was being rebuilt as the spec itself had some weaknesses/bad design decisions and/or its current implementation in FF is buggy by design.
This is being worked on.
I'll add it anyway and see how it goes - on the todo list.
Ashley : thanks a lot !