Debbuger showing the following message:
Failed to load resource: the server responded with a status of 401 (Unauthorized)
The specific file which was unauthorized is an .ogg file, It is not playing, although it plays every other ogg files.
Other thing that is strange is that even if i change the device on emulator to an iphone or windows phone it still gives me the same error. But as far as i know both iphone or windowsphone uses .m4a not .ogg, so why it still not playing the file? (i have both m4a and ogg on www/media folder).
The emulate tab is a browser, it is not a device. It only simulates the core Cordova APIs, it does not simulate devices. To really debug the behavior you are trying to understand you must use a real device. I recommend you try using the Debug tab.