ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.2k stars 787 forks source link

Error on file:///D:/bloxorz/index.html #2592

Closed AnnoyedArt1256 closed 3 years ago

AnnoyedArt1256 commented 3 years ago

I'm running on the 2021-01-17 self-hosted version

Error Info

Error name: TypeError Error message: NetworkError when attempting to fetch resource. Error stack:

e@file:///D:/bloxorz/ruffle/ruffle.js:1:31896
i@file:///D:/bloxorz/ruffle/ruffle.js:1:33923
a@file:///D:/bloxorz/ruffle/ruffle.js:1:34005

Player Info

Allows script access: true

Page Info

Page URL: file:///D:/bloxorz/index.html

Browser Info

Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0 OS: Win32

Ruffle Info

Version: 0.1.0 Name: nightly 2021-01-17 Channel: nightly Built: 2021-01-17T01:05:59.152Z Commit: c2b768c453f281a988c71a829e7a71bb106302fa

sombraguerrero commented 3 years ago

Self-host isn't meant to run local files. You have to run on a local web server and enable mimetype handling for WASM.

Herschel commented 3 years ago

Ruffle can not run from a file:/// URL do to security restrictions in browsers. You can either run a local test server or upload Ruffle to a server.