Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit) (+1)

Hearing that your issues were on the same track intrigued me so I did a little bit of sleuthing.

The error I was getting in my browser's console was "The buffer passed to decodeAudioData contains invalid content which cannot be decoded successfully."; this does not help a lot but confirms that the issue is with specific files being unreadable for Firefox (or at least the AudioContext part of Firefox, as opening the file by itself in a new tab works like a charm).

Using the sample code from MDN's documentation (https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/decodeAudioDat...) I managed to reproduce the issue locally, which definitely excludes the issue being from your code (yay !). I still do not know exactly what went wrong with those files, but simply re-encoding them with a newer version of the encoder (Lavf57.56.100 => Lavf58.29.100) fixed the issue for me (I did that using ffmpeg, ffmpeg -i ladiesandgs.webm ladiesandgs_fixed.webm) made the previously unplayable files work just fine in Firefox.

The files I noticed were affected and confirmed fixed with this workaround are "Ladies and G's", "Take a amen break", "Heatwave" and "Memories".

(+1)

Sir, you are an absolute legend, a nerd and a real gentleman. I must rename the first track "Ladies and Delca" now !
I see 3 possibilities :
-1 : I used a very old "deprecated" 🦜version of FL studio, my DAW , even a 32 bit one, and I had to manually export 40 songs into .ogg, so maybe something went wrong here, or ...
-2 : Then I had to import the songs into the Construct 3 engine which then convert them into .webm for maximal compatibility and it goes wrong here, or...
-3 : During the export/compile/minify process...

Anyway, thank you ! I will work on that when my body and mind has completely recover from the jam. I suffer what I call the "post jam disgust " right now.