Minimum system requirement to run RuFFle #829
Unanswered
ROBERT-MCDOWELL
asked this question in
General
Replies: 3 comments 1 reply
-
I don't think, that the engine version matters. Every browser that supports WASM (see https://caniuse.com/wasm) should be able to run ruffle. To simply check for WASM support, this may help: const supported = (() => {
try {
if (typeof WebAssembly === "object"
&& typeof WebAssembly.instantiate === "function") {
const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
if (module instanceof WebAssembly.Module)
return new WebAssembly.Instance(module) instanceof WebAssembly.Instance;
}
} catch (e) {
}
return false;
})();
console.log(supported ? "WebAssembly is supported" : "WebAssembly is not supported"); |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for this code, as Wasm specs are still changing I noticed that some browser not updated since 2 or 3 years with wasm compatible are not able to run some recent wasm code. |
Beta Was this translation helpful? Give feedback.
1 reply
-
useful links thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder if it's possible to have JS script or else
to check if the wasm engine version is compatible with Ruffle so
the developer can redirect to a legacy or modern website pages?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions