I'm using Vite and Cypress for dev and testing
I'm loading ffmpeg, it loads fine on Chrome but on Cypress, it gives this error
ReferenceError: SharedArrayBuffer is not defined
Apparently, it's caused by cross origin isolation.
I tried disabling web security in Cypress.json
but it didn't help
Sample code
import { createFFmpeg } from "@ffmpeg/ffmpeg"
const ffmpeg = createFFmpeg({ log: true })
ffmpeg.load()
Is there a workaround?
Minimal Repro https://github.com/unlocomqx/cypress-ffmpeg