I have added a background music to my game of ogg type. The audio plays fine on my PC but when I convert it into apk through phonegap no audio plays on my mobile. Can anyone help me out?
Import m4a version to project with same name(both ogg).it should work.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for ur reply man. I just hav a question,in the event should i choose the ogg file or m4a file.
The event simply use the name of the file without any kind of extension since C2's engine does the job of picking the correct extension on runtime without you having to bother about it.
Thanks. But its still not working
Try Cocoon-Js I also get no sound on phonegap no matter what I do. But it works fine with cocoon-js.