audible-tools / audible-tools.github.io

Converts aax to audiofiles online. Please don't sue me amazon.

Home Page:https://audible-tools.kamsker.at/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In Browser conversion stopped working

csandman opened this issue · comments

This was working fine for me a few days ago but it looks like it is no longer working because chrome changed the rules for using SharedArrayBuffer. This is the error I'm getting:

[Deprecation] SharedArrayBuffer will require cross-origin isolation as of M92, around July 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
Uncaught (in promise) ReferenceError: SharedArrayBuffer is not defined
    at 055b4913-ac8e-4b88-82cf-3c0aec6c7543:22
    at createFFmpeg.js:64
    at s (runtime.js:63)
    at Generator._invoke (runtime.js:293)
    at Generator.next (runtime.js:118)
    at n (asyncToGenerator.js:3)
    at l (asyncToGenerator.js:25)

Here is the article it links to: https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation

Apparently you need to serve the main document with the following headers:

Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

I'm not sure if this is possible when using GitHub pages but I thought I'd let you know!

It looks like there's already an issue about this on the ffmpeg.wasm repo: ffmpegwasm/ffmpeg.wasm#231

Thanks for reaching out. Somehow missed the date.

Ah yea. Fixed this a while ago but was too lazy deploying a redirect xD

The new url is https://audible-converter.ml
This should fix the issue

Just found out that i can change the settings that gh pages 301 to the new site :3

Thanks for the quick turnaround on this!