Importing ruffle-js

Trying to load a npm module (Ruffle - Using Ruffle · ruffle-rs/ruffle Wiki · GitHub) throws an error:

 ChunkLoadError: Loading chunk 966 failed.

I think I’m pushing things probably trying to load this emulator within a notebook, but any obvious fixes ?


I’ve sent you a suggestion to load the wasm file. It seems to be working but I can’t confirm while the swf file is missing.

I’ve created an example here:


for comparison, my suggestion is here Leonardo Canal Challenge / Fil / Observable ; I didn’t know of ruffle-mirror, which seems to be better than my fiddling with the config.

1 Like

Many thanks to you both. Now working - Leonardo Canal Challenge / Richard / Observable.

I’ve updated my notebook to include a splash screen and download progress, implemented via XMLHttpRequest.