AJAX GET errors for missing sound files.
fatbattk opened this issue · 1 comments
fatbattk commented
Hi.
In dev console an error is thrown for each missing extension whenever I play a file.
// include 2 formats only.
A.mp3
A.wav
GET file:///path/to/A.ogg?1444081896506 net::ERR_FILE_NOT_FOUND
GET file:///path/to/A.mp4?1444081896508 net::ERR_FILE_NOT_FOUND
GET file:///path/to/A.aac?1444081896510 net::ERR_FILE_NOT_FOUND
- p.load ion.sound.min.js:7
- p.reload ion.sound.min.js:8
- p.error ion.sound.min.js:10
Isn't this essentially forcing users to include all file formats of each sound? The documentation implies adding more versions is recommended but optional.
Is there a way to suppress these errors/skip checks? I would prefer to skip unnecessary checks/errors and including files when I do not need wide-browser support.
IonDen commented
Hello, i think i will add this option in future, to predefine extension.