Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] Shared variables - Html 5 - Uncaught Error: NetworkError for: AGKPlayer.data

Author
Message
patmaba
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Belgium
Posted: 8th Apr 2021 10:57 Edited at: 8th Apr 2021 11:03
This post has been marked by the post author as the answer.
Hi

I'm testing the shared variables on HTML5 app with AppGamekit Studio V2021.02.09.
When i launch my html web page generated by studio and launch it on chrome i receive the following error in red on top page.
Uncaught Error: NetworkError for: AGKPlayer.data

I try on edge, it crash too with the message : Script error. in red

My code is :



How Can i resolve the problem to launch my web page without error ?
Are my shared variables declaration correct ?

Thanks

patmaba

The author of this post has marked a post as an answer.

Go to answer

patmaba
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Belgium
Posted: 8th Apr 2021 13:40
Ok guys.

It's a security bug on browser.
For securities, we must call the web page from a web server.

My workaround is too install a Chrome plugin "Web Server for Chrome" to simulate a webserver from on a local folder.

Thanks

Login to post a reply

Server time is: 2024-04-18 11:50:23
Your offset time is: 2024-04-18 11:50:23