Jump to content

Looping Audio Using Javascript


NeChan

Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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