Why Dont Play Sound ?!!!!

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply
Author
2,531 Rep
Post Options Post Options   Quote mahdisml Quote  Post ReplyReply Direct Link To This Post Topic: Why Dont Play Sound ?!!!!
    Posted: 27 Apr 2012 at 1:00pm
Please Help ME !!!!!
I am a Game Developer With Construct 2.
I develop a game with Construct 2 .
Played game sound in offline . (In my files)
Dont Play game sound In my web site and Android(phoneGap) !!!!
http://mahdisml.ir/store/doodle%20move/

Why Dont play game sound in my website and PhoneGap ?????!!


Edited by mahdisml - 27 Apr 2012 at 1:08pm
Back to Top
5,622 Rep
Post Options Post Options   Quote Ugotsta Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2012 at 1:41pm
Hmm, did you upload your sound files as well? Looking at the site through Chrome's console, I'm seeing the following error:

Failed to load resource: the server responded with a status of 404 (Not Found) http://mahdisml.ir/store/doodle%20move/media/storymusic.ogg

Maybe you just need to upload your /media/ folder?
Check out Nibble in the HBGames Build and Win Construct 2 Contest!
Back to Top

Scirra Developer
81,207 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2012 at 4:48pm
Have you tried the r87 beta? We fixed a problem with PhoneGap audio recently.

As for the browser game, check for browser errors and you'll see all your audio files come up 404 Not Found. You probably need to set the right MIME types on your server.

Edited by Ashley - 27 Apr 2012 at 4:50pm
Back to Top
10,437 Rep
Post Options Post Options   Quote mina Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2012 at 6:30pm
@Ashley I also have the same problem with playing audio files on mobile phones and ie9. I'm using r87 beta version.
Back to Top
4,964 Rep
Post Options Post Options   Quote AndyWatson Quote  Post ReplyReply Direct Link To This Post Posted: 27 Apr 2012 at 7:07pm
I still cannot play audio in r87 using phonegap build, no sounds work for me.
Back to Top
2,531 Rep
Post Options Post Options   Quote mahdisml Quote  Post ReplyReply Direct Link To This Post Posted: 28 Apr 2012 at 11:41am
I Using R84(the last stable Virsion)
I uploaded Sounds in /media/ folder
My files in host
Thanks Ashley

Edited by mahdisml - 28 Apr 2012 at 11:51am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down