Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
30 Views

Failed to load resource: 401 (Unauthorized)

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). 

 

Tags (2)
0 Kudos
1 Reply
Highlighted
30 Views

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.

0 Kudos