Link to .capx file (required!):
Simple Test Game created to debug problem
brotechentertainment.com/test/test_single_file.capx
Steps to reproduce:
1. Click Test Button to Play test Sound "Boing"
2. Link to test sound URL
brotechentertainment.com/test/media/boing_x.m4a
3. Added .htaccess file as instructed to root directory for game
Contents of .htaccess file
AddType video/ogg .ogv
AddType application/ogg .ogg
AddType video/mp4 .mp4
AddType video/webm .webm
AddType audio/aac .aac
AddType audio/mp4 .mp4 .m4a
AddType audio/mpeg .mp1 .mp2 .mp3 .mpg .mpeg
AddType audio/ogg .oga .ogg
AddType audio/wav .wav
AddType audio/webm .webm
Observed result:
No Sounds play on iPad iOS 6 after trying all recommendations
from C2 Developers.
All sound OK on ANDROID devices
Expected result:
Button clicks should play sound on iPad as they do on ANDROID
and Exloper, and Chrome, and Mozilla
Browsers affected:
Chrome: yes/no = YES
Firefox: yes/no =YES
Internet Explorer: yes/no =YES
Operating system & service pack:
iPad iOS 6
Construct 2 version:
Release 114
Build 15:56:53
Note: I am only posting this here after trying all other possible solutions. Since the sounds "can" play directly from my host server via the URL link on the iPad, I must presume that the .htaccess and server are set up properly.
Next, the test game is extremely simple, by design, in order to debug this problem. I created a button count event to ensure that the TOUCH event executes the loop and increments the count and plays the sound.
Please let me know if there is something wrong in the test code itself for how I am Pre-loading or playing the sound. I have had a C2 developer look at this problem on a previous forum post and the code seemed ok.
Original Froum Posting
scirra.com/forum/audio-music-mime-question_topic62244_page1.html
Thank you for any help in advance.
BTW, I absolutely LOVE "Construct 2" as a FORMER GAME MAKER programmer,
who switched on 12-7-2012 and purchased Construct 2. :)