Copy link to clipboard
Copied
Hi everyone,
do you know if I can preview a html5 (+ JavaScript) while offline?
It seems not to be working...
Thank you in advance!
kglad wroteyou'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js and change the path in your html file.Or, instead of downloading a file from somewhere and manually mucking about in the generated code, he could just uncheck hosted libraries in the publish settings.
Copy link to clipboard
Copied
you'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js and change the path in your html file.
Copy link to clipboard
Copied
kglad wrote
you'll need to download the createjs library, https://code.createjs.com/createjs-2015.11.26.min.js and change the path in your html file.
Or, instead of downloading a file from somewhere and manually mucking about in the generated code, he could just uncheck hosted libraries in the publish settings.
Copy link to clipboard
Copied
I created a project specifically to use offline. I have unchecked the hosted library option, but the project does not appear to be using the js code. Here is the console error.
And here is where the code is referenced in the HTML file.
What's wrong here?
Copy link to clipboard
Copied
upload your files to a server and test using the uploaded files.
Copy link to clipboard
Copied
I did and got it working. Thanks.
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
You could also be having issues with the browser security settings if not serving via a local server. When previewed from Animate itself - not that a local web server is utilized.