Uncaught ReferenceError: SharedArrayBuffer is not defined

Hello guys

I made an audio converter tool (https://app.notta.ai/media-convert), and embed it to my Webflow site (https://nottas-test-awesome-project-te-a9620974.webflow.io/tools/online-audio-converter) using iframe, but it’s not working. I can upload file, but I can’t convert the file.

Published site: https://nottas-test-awesome-project-te-a9620974.webflow.io/tools/online-audio-converter

The JS code does not work, see screenshot below:

Not sure what to do about it.

Thx

Here is my site Read-Only: https://preview.webflow.com/preview/nottas-test-awesome-project-te-a9620974?utm_medium=preview_link&utm_source=designer&utm_content=nottas-test-awesome-project-te-a9620974&preview=e36692f4fd95cf8460b8e385555ccd90&pageId=6234bd148d52856687ef0b48&workflow=preview
([how to share your site Read-Only link][2])

[1]:
[2]: Share a read-only link | Webflow University

If you are using any script file and getting "Uncaught ReferenceError: ‘SharedArrayBuffer’ is not defined " which means ‘SharedArrayBuffer’ is either a variable or a method which you are trying to use before declaring it using var keyword. This means that there is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in your current script or scope otherwise , it will endup throwing this ‘SharedArrayBuffer’ is not defined error . This usually indicates that your library is not loaded and JavaScript does not recognize the ‘SharedArrayBuffer’.

To solve this error: Load the jQuery CDN library at the beginning of all your javascript files/scripts which uses $/ jQuery, so that $/jQuery can be identified in scripts .

There can be multiple other reasons for this issue:

  • Conflict with Other Libraries
  • Path to your library included is not correct
  • Llibrary file is corrupted
  • Working offline (when you use CDN)