Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jul 13, 2015 Jul 13, 2015

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?

175
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 13, 2015 Jul 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?)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 13, 2015 Jul 13, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 13, 2015 Jul 13, 2015
LATEST

(an excellent point, sometimes I assume that incorrectly)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources