HTML5 Deployment

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

HTML5 Deployment

Post by gsillevis » Sun Oct 18, 2020 4:00 pm

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!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: HTML5 Deployment

Post by richmond62 » Sun Oct 18, 2020 4:03 pm

Well; first of all, what is your original source stack meant to do?

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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: HTML5 Deployment

Post by richmond62 » Sun Oct 18, 2020 4:44 pm

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9385
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: HTML5 Deployment

Post by richmond62 » Sun Oct 18, 2020 6:19 pm

Here's my stack.

And my HTML build is here: https://www.dropbox.com/s/ag3v9ayne45yy ... e.zip?dl=0
Attachments
HTML joke.livecode.zip
(129 KiB) Downloaded 136 times

Xero
Posts: 152
Joined: Sat Jun 23, 2018 2:22 pm

Re: HTML5 Deployment

Post by Xero » Tue Oct 20, 2020 9:59 am

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

elanorb
Livecode Staff Member
Livecode Staff Member
Posts: 516
Joined: Fri Feb 24, 2006 9:45 am

Re: HTML5 Deployment

Post by elanorb » Tue Oct 20, 2020 4:54 pm

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
Elanor Buchanan
Software Developer
LiveCode

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”