I tried using a Construct 2 game in a Laravel iframe but mde returns the following errors and only shows a black screen...
c2runtime.js:4708 GET 127.0.0.1/data.js 500 (Internal Server Error)
Runtime.requestProjectData c2runtime.js:4708
Runtime c2runtime.js:4637
cr.createRuntime c2runtime.js:8781
(anonymous) positions:102
e jquery-3.4.1.min.js:2
t jquery-3.4.1.min.js:2
setTimeout (async)
(anonymous) jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
fire jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
ready jquery-3.4.1.min.js:2
B jquery-3.4.1.min.js:2
c2runtime.js:21 Project model unavailable
cr.logerror c2runtime.js:21
Runtime.loadProject c2runtime.js:5256
xhr.onload c2runtime.js:4692
load (async)
Runtime.requestProjectData c2runtime.js:4690
Runtime c2runtime.js:4637
cr.createRuntime c2runtime.js:8781
(anonymous) positions:102
e jquery-3.4.1.min.js:2
t jquery-3.4.1.min.js:2
setTimeout (async)
(anonymous) jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
fire jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
ready jquery-3.4.1.min.js:2
B jquery-3.4.1.min.js:2
c2runtime.js:5257 Uncaught TypeError: Cannot read property 'project' of null
at Runtime.loadProject (c2runtime.js:5257)
at XMLHttpRequest.xhr.onload (c2runtime.js:4692)
Runtime.loadProject c2runtime.js:5257
xhr.onload c2runtime.js:4692
load (async)
Runtime.requestProjectData c2runtime.js:4690
Runtime c2runtime.js:4637
cr.createRuntime c2runtime.js:8781
(anonymous) positions:102
e jquery-3.4.1.min.js:2
t jquery-3.4.1.min.js:2
setTimeout (async)
(anonymous) jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
fire jquery-3.4.1.min.js:2
c jquery-3.4.1.min.js:2
fireWith jquery-3.4.1.min.js:2
ready jquery-3.4.1.min.js:2
B jquery-3.4.1.min.js:2
appmanifest.json:1 GET 127.0.0.1/appmanifest.json 500 (Internal Server Error)
appmanifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
icon-256.png:1 GET 127.0.0.1/icon-256.png 500 (Internal Server Error)
c2runtime.js:18 [Construct 2] Suspending
c2runtime.js:18 [Construct 2] Resuming
c2runtime.js:18 [Construct 2] Suspending