My game is running fine on browser with sounds, but there is no sound in mobile browser at all. Is anyone have any idea why is this not happening ?
Develop games in your browser. Powerful, performant & highly capable.
I think it is probably the format you are using - (ogg/mp3/aac etc)
not all formats are usable in each output certainly not all browsers can use the same format. Have a look in the manual under sounds.
So you mean I have to put other formats in the library too ?? When I imported sounds, It automatically converted all sounds to .ogg format. I think the original files is not needed anymore, so I deleted them. Is it because of that ?
You need both .m4a and .ogg to cover all browsers. On Windows 7 and newer Construct 2 automatically encodes the .m4a, but on older versions of Windows it will only encode the .ogg. You must then upload all the files and have your server MIME types set up correctly to serve both kinds of files, and then Chrome for Android and Safari for iOS have some additional limitations about when music can play. This is all described in more detail in the manual.