Audio dont work with cordova

Discussion and feedback on Construct 2

Post » Tue Jan 27, 2015 8:44 pm

Hi guys,
i m using cordova to compile my game for android, in my test the audio work very good but when i compile using cordova and run in android divice or emulator the audio dont work.
B
3
Posts: 3
Reputation: 181

Post » Tue Jan 27, 2015 8:47 pm

Put your audio in Music folder and try again.
Image
B
16
S
7
Posts: 126
Reputation: 1,920

Post » Tue Jan 27, 2015 9:00 pm

i,ve done it.
When i export to html5 aplication my musics go to directory media.
I'm compiling the files exporteds with cordova, in the browser work but in device not.
B
3
Posts: 3
Reputation: 181

Post » Tue Jan 27, 2015 10:03 pm

Are you using C2 free edition, and trying compile HTML5 with Cordova?
Image
B
16
S
7
Posts: 126
Reputation: 1,920

Post » Tue Jan 27, 2015 10:44 pm

Are you using Crosswalk? It's definitely the best way to go for Android publishing. Cordova on other platforms only really works well with Android 5.0+, and I guess you're testing on 4.x.
Scirra Founder
B
398
S
236
G
88
Posts: 24,441
Reputation: 194,671

Post » Wed Jan 28, 2015 1:18 pm

Ty,
i use the crosswalk compile and now are all working.
B
3
Posts: 3
Reputation: 181


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests