Jump to content

Recommended Posts

Posted
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 ?

Posted

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?

Posted

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

Posted

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?

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...