Skip to main content
New Participant
July 28, 2019
Answered

Animate cc - html doesn't run in browser

  • July 28, 2019
  • 3 replies
  • 17690 views

Hi,
I want to make a html canvas. Ok, in animate it's all right and I can test the project from animate to the browser.
But, after the export it (html-file) doesn't run in the browser (Safari, Chrome, Firefox), if I copy it in the browser, as in this example: Adobe Animate CC: Add to HTML web page (Updated Version) - YouTube
It also doesn't run if I put it in a subdirectory on my website and try a link. But why?

    Correct answer ClayUUID

    1) Animate HTML content generally won't run from the local file system due to overzealous browser security restrictions.

    2) You can't just throw the HTML file on your web server. You also have to upload the resource folders that Animate generates, in the same relative locations to the HTML file.

    3 replies

    melonmanAuthor
    New Participant
    July 29, 2019

    Thanks, the folder was in the wrong directory. Now it works :-)

    New Participant
    February 29, 2020

    I have the same problem but I haven't moved my files... I don't get it 😞 

    New Participant
    March 22, 2022

    Have you found a solution? I am almost losing a client because of this problem.

    ClayUUIDCorrect answer
    Braniac
    July 29, 2019

    1) Animate HTML content generally won't run from the local file system due to overzealous browser security restrictions.

    2) You can't just throw the HTML file on your web server. You also have to upload the resource folders that Animate generates, in the same relative locations to the HTML file.

    CharlesCaptain
    Participating Frequently
    January 28, 2020

    I'm having the same issue, but I don't think it's the file location.  I keep getting "failed to load resource: server responded with a status of 500" error from the first line of my Javascript.

    What do I do about the overzealous browser security settings you mentioned?  Run it from the server?  How do I do this?

    Braniac
    July 28, 2019