Hacker News new | ask | show | jobs
by thegoleffect 2051 days ago
I no longer see the warning on the readme, but, this relies on SharedArrayBuffer, so it is not currently supported on mobile (except Firefox for android) and some other browsers: https://caniuse.com/sharedarraybuffer
2 comments

I get this when I visit the OP link:

> Your browser doesn't support SharedArrayBuffer, thus ffmpeg.wasm cannot execute. Please use latest version of Chromium or any other browser supports SharedArrayBuffer.

According to caniuse some headers are necessary for it to work on Firefox. I guess the developer has to fix the demo.
In fact, the header must be set in the server-side, which means I cannot do that as I am using github pages. You can check more details here: https://github.com/ffmpegwasm/ffmpeg.wasm/issues/102
I noticed you were using github and completely failed to think of that! My bad.
It is on the last line of the Installation section, but yes, ffmpeg.wasm still replies on SharedArrayBuffer for multi-threading.