Closed pierrekerner closed 3 years ago
This is a CORS issue because you are visiting the site from http://www.ssaft.com
but the SWF is loading from http://ssaft.com
. The domains don't match, so the cross-origin request is denied by the browser.
An easy way to fix this is to change the SWF URL to be a path relatve to the domain:
player.load("/Blog/dotclear/public/Ruffle/banniere.swf");
Thx! It's corrected
Le jeu. 21 janv. 2021 à 00:53, Mike Welsh notifications@github.com a écrit :
This is a CORS issue because you are visiting the site from http://www.ssaft.com but the SWF is loading from http://ssaft.com. The domains don't match, so the cross-origin request is denied by the browser.
An easy way to fix this is to change the SWF URL to be a path relatve to the domain: player.load("/Blog/dotclear/public/Ruffle/banniere.swf");
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ruffle-rs/ruffle/issues/2694#issuecomment-764039226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQ6OXRN5JVHUI2K3JBIF3TS25UF5ANCNFSM4WLCF5WQ .
Error Info
Error name: TypeError Error message: NetworkError when attempting to fetch resource.
Player Info
Allows script access: false
Page Info
Page URL: http://www.ssaft.com/Blog/dotclear/
Browser Info
Useragent: Mozilla/5.0 (Windows NT 6.1; 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