Skip to main content
Participant
July 13, 2015
Question

Why does Chrome hang when loading a web object in HTML5 in the published project, but it previews fine?

  • July 13, 2015
  • 1 reply
  • 222 views

I have created a very simple JavaScript-based interaction using HTML/CSS, Jquery and a simple add-on library.

When previewing this item in-browser in my project, it functions correctly.

When publishing this project as HTML/SWF, if I publish with SWF enabled, it launches and plays correctly.

But when publishing it as HTML5 only, it hangs in Chrome 43 and won't load the web object. Weirdly, it plays correctly in Firefox when using the HTML5 version.

I tried to eliminate all file linking by embedding all JS and CSS thinking maybe it was timing out, but that has not fixed anything.

Anyone know what is happening?

    This topic has been closed for replies.

    1 reply

    Erik Lord
    Inspiring
    July 13, 2015

    Chrome recently dropped NPAPI (old plugins) support. That shouldn't affect your issue, but is a common cause for current general problems where 'works in FF but not in Chrome'...

    What if you backout even more? How about a very simple HTML page, no complex CSS and no JS at all?

    Does that load?

    Then incrementally add the complexities until you hit a problem.

    If it won't even load the basic HTML page, then would seem to be more a 'source' issue (i.e. cross-domain security?)

    RodWard
    Community Expert
    Community Expert
    July 14, 2015

    With most things HTML5 I suggest uploading to a web server and testing from there.  In many cases the issue is only present when testing from your own hard drive.

    Erik Lord
    Inspiring
    July 14, 2015

    (an excellent point, sometimes I assume that incorrectly)