question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Your browser doesn't support SharedArrayBuffer

See original GitHub issue

From: https://ffmpegwasm.github.io/#demo

Using Firefox 81.02 on Fedora 32.

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
Ian321commented, Nov 5, 2020

Should work.

I just tested it with the following and it worked:

const express = require('express');
const app = express();

app.use((req, res, next) => {
  res.header('Cross-Origin-Opener-Policy', 'same-origin');
  res.header('Cross-Origin-Embedder-Policy', 'require-corp');
  next();
});

app.use(express.static('build'));

app.listen(8080);

The downside it that you can’t use scripts hosted on other domains, so Google Analytics won’t work and ffmpeg-core can’t be loaded from https://unpkg.com/.

2reactions
jeromewucommented, Nov 4, 2020

This is an expected result as Firefox doesn’t have the full support for SharedArrayBuffer now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shared Array Buffer | Can I use... Support tables for HTML5 ...
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
How to enable sharedArrayBuffer in chrome without cross ...
In this thread someone suggested to start chrome as follows $> chrome --enable-features=SharedArrayBuffer.
Read more >
Your browser doesn't support SharedArrayBuffer, thus ffmpeg ...
MDN says SharedArrayBuffer is supported on Chrome, Edge and Firefox. What browser are you using that doesn't support it? Safari? https://developer.mozilla.org/ ...
Read more >
SharedArrayBuffer - JavaScript - MDN Web Docs
The SharedArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer, similar to the ArrayBuffer object, ...
Read more >
SharedArrayBuffer updates in Android Chrome 88 and ...
To secure more time to reliably relax the requirement to enable cross-origin isolation, the deprecation trial of SharedArrayBuffer on desktop ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found