Prepare sound for IOS web browser (Safari & Chrome)

Get help using Construct 2

Post » Thu Feb 26, 2015 4:25 pm

Hi friends,

I have uploaded a prototype to googledrive but when playing it with the Iphone it doesn't sound. I've read about exporting with Cordova and it creates what looks like regular HTML5 files, so I upload them and all I got is black screen, both in my PC and in the Iphone, so obviously I'm missing something.

What should I do to get sound working? Thanks!
B
5
S
1
Posts: 32
Reputation: 508

Post » Thu Feb 26, 2015 10:42 pm

Some mobile browsers, especially Safari on iOS, won't let sounds play, especially music, unless the touchscreen is touched.

If that's an issue with music, I'd try adding music files as sound files in your project and treat them as sounds. Might not work, but I remember I wanted to try that out and haven't got a chance yet.
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Fri Feb 27, 2015 8:01 am

Kan wrote:Some mobile browsers, especially Safari on iOS, won't let sounds play, especially music, unless the touchscreen is touched.

If that's an issue with music, I'd try adding music files as sound files in your project and treat them as sounds. Might not work, but I remember I wanted to try that out and haven't got a chance yet.


I've tried already, but still no sound. I think it's because of the sound format, that should be mp4, but yesterday I tried to change it to MP4 and now PC runs it but on Iphone it crashes when loading is complete, so I'l redo everything again and test it. Thank you!
B
5
S
1
Posts: 32
Reputation: 508


Return to How do I....?

Who is online

Users browsing this forum: andersonaraujodl, imhotep22, marcoscodas and 4 guests