Page 1 of 1

HTML5 Deployment

Posted: Sun Oct 18, 2020 4:00 pm
by gsillevis
Hello!

I'm struggling with HTML5 deployment. I open the HTML file in Firefox and.... not much happens. I get the Livecode Logo, and it says it has completed downloading, but below that is just a black box. What am I doing wrong?

Thank you!

Re: HTML5 Deployment

Posted: Sun Oct 18, 2020 4:03 pm
by richmond62
Well; first of all, what is your original source stack meant to do?

AND, what operating system are you using on your computer?

Re: HTML5 Deployment

Posted: Sun Oct 18, 2020 4:44 pm
by richmond62
I thought I'd have a go . . . macOS 11.0 beta 10, LiveCode 9.6.1

my source stack looks like this:
-
Screenshot 2020-10-18 at 18.41.24.png
-
The "downloading" green thing has been churning for 90 seconds above a black bar.

BRAVE browser.

Same cack in Safari 14.

Whoops: didn't do this:
-
Screenshot 2020-10-18 at 18.44.08.png
-
Even bigger Whoops: there doesn't seem to be an "HTML Deployment" guide in the Dictionary.

Re: HTML5 Deployment

Posted: Sun Oct 18, 2020 6:19 pm
by richmond62
Here's my stack.

And my HTML build is here: https://www.dropbox.com/s/ag3v9ayne45yy ... e.zip?dl=0

Re: HTML5 Deployment

Posted: Tue Oct 20, 2020 9:59 am
by Xero
Last time I tried to deploy HTML5, the engine was massive. Huge. Time consuming to download and run.
Maybe just give it a little more time to load and run.
I am sure there are better ways of getting HTML5 up and running...
X

Re: HTML5 Deployment

Posted: Tue Oct 20, 2020 4:54 pm
by elanorb
This might be due to Firefox seeing opening your HTML file as a cross-origin request.

The easiest solution is probably to set up localhost, this will also allow you to test easily using the Test Target and Test button too.

There is a forum discussion on this that you might find helpful

viewtopic.php?t=29801

I hope that helps.

Kind regards

Elanor