I have exported my game to dropbox and copied the public link of the index.html file. Using my IPad or Iphone I paste the public link address and I can play the game. I then 'Add To Homescreen' so that I can tap on the icon and play the game later without having to re enter public link address every time. This works fine , but I do not get the sound that's in the game. I did read somewhere about making sure the correct MIME types are set, but I have no idea where to look for these, or even if the correct MIME settings are sent when the game is loaded onto the device.
Can anyone shed any light on this, as to why I don't get the sound on the mobile device. The sound works fine on PC. I have uploaded game to Scirra Arcade and it works fine on there too.
The MIME types would be set on your server:
Just out of curiosity what was the original format of your sound? If it was the wrong type then Construct 2 didn't create the two types necessary:
The original format was WAV, It has created the 2 files MP4 and ogg
https://dl.dropboxusercontent.com/u/151 ... index.html
do you have ipad or iphone maybe you could try. I don't have android device so not sure if it works on there.
I gave it a try on my iPad (1st Gen iOS 5.1.1) and there was no sound.
On my PC the only sound I heard was a crash sound when I died.
Should I export as HTML5 or open web app
Well, I don't think you did anything wrong. I just made a test project that is about as simple as you can make it, and the audio doesn't work on an iPad. I've served it up both with Dropbox and on my own web server. In both cases there was no audio on an iPad. This was a HTML5 export. I'm going to play around with it a little more.
I was able to get it working on my web server, but not when it's served by Dropbox. All I did was on the start of the layout add a preload for the sound.
Develop games in your browser. Powerful, performant & highly capable.
I think I have got it working, I had to add MIME settings on my pc then upload to dropbox again and seems to be working