goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.87k stars 2.23k forks source link

ALAC encoded files not playing #1699

Open bogosorter opened 10 months ago

bogosorter commented 10 months ago

The Problem

Hi there!

I used Howler in an app of mine and was warned that not all M4A files were playing. However, Howler's website says that Howler "Supports all browser-ready files: MP3, ..., M4A, ...".

After investigating for a bit, here's what I learned - not quite sure it's right, but let's hope so :)

Here's what I'd like to know:

I'm using Howler with Node. The issue is happens in both Windows and Ubuntu (couldn't test it on Mac).

Yours, M7kra

Here are two sample files:

Reproducible Example

No response

Reproduction Steps

const howl = new Howl({
    src: ['file://' + track.path],
    html5: true,
    autoplay: true,
    onloaderror: (id, err) => {
        // Logging error
    }
})

Possible Solution

No response

Context

No response

Howler.js Version

v2.2.3

Affected Browser(s)/Versiuon(s)

No response