Audio doesnt play on mobile

Discussion and feedback on Construct 2

Post » Tue May 07, 2013 6:05 pm

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?
B
2
Posts: 6
Reputation: 262

Post » Tue May 07, 2013 6:20 pm

Import m4a version to project with same name(both ogg).it should work.
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Tue May 07, 2013 7:05 pm

Thanks for ur reply man. I just hav a question,in the event should i choose the ogg file or m4a file.
B
2
Posts: 6
Reputation: 262

Post » Tue May 07, 2013 8:47 pm

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.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri May 17, 2013 3:31 pm

Thanks. But its still not working
B
2
Posts: 6
Reputation: 262

Post » Sun May 19, 2013 2:24 pm

Try Cocoon-Js I also get no sound on phonegap no matter what I do. But it works fine with cocoon-js.
B
15
S
3
Posts: 37
Reputation: 1,933


Return to Construct 2 General

Who is online

Users browsing this forum: DankP3, NetOne, Zonacas and 4 guests