NeChan Posted June 26, 2017 Share Posted June 26, 2017 Can anyone help me fix this problem " Uncaught (in promise) DOMException: Unable to decode audio data " every time i want looping my audio using this js " https://howlerjs.com/ " the audio won't to play but it will be download and this error always appear, how i can fix this problem ? Quote Link to comment Share on other sites More sharing options...
wolstech Posted June 26, 2017 Share Posted June 26, 2017 That error usually means the browser can't understand the audio file format (Chrome used to be known to have issues with certain ones like OGG), or that the audio file being played is corrupt. Have you tried a different audio file and different browser? Quote Link to comment Share on other sites More sharing options...
NeChan Posted June 27, 2017 Author Share Posted June 27, 2017 I've used different audio like mp3, ogg, and wav but the result is the same, and I tried using different browser but the error still looks the same, if the audio is corrupt, i can not play it for my website now, but i can still play it with manual javascript looping (not howler js) but it does not work for mobile, only howler js that support loooping on the mobile Quote Link to comment Share on other sites More sharing options...
Krydos Posted June 27, 2017 Share Posted June 27, 2017 Check out https://github.com/goldfire/howler.js/issues/513 You're not the only one having this issue with howler.js. Quote Link to comment Share on other sites More sharing options...
NeChan Posted June 27, 2017 Author Share Posted June 27, 2017 Nope, still not working, i have been re-decode my audio with Audacity but the error still appear Quote Link to comment Share on other sites More sharing options...
wolstech Posted June 27, 2017 Share Posted June 27, 2017 Googling seems to suggest people beyond the ones in that bug report are also having these problems with howler.js... Have you tried using a different library? Quote Link to comment Share on other sites More sharing options...
NeChan Posted June 27, 2017 Author Share Posted June 27, 2017 Have you tried using a different library? What do you mean ? Quote Link to comment Share on other sites More sharing options...
wolstech Posted June 27, 2017 Share Posted June 27, 2017 I'm recommending you replace howler.js with something else and see if it works (the error is related to how howler's audio output is handled by your browser). It's not the only javascript out there that can do what you're asking, so try a different script and see if it performs properly. Quote Link to comment Share on other sites More sharing options...
NeChan Posted June 27, 2017 Author Share Posted June 27, 2017 Ok Quote Link to comment Share on other sites More sharing options...
Luigi123 Posted June 28, 2017 Share Posted June 28, 2017 Moved to Customer Service. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.