Skip to main content
Participant
December 3, 2019
Question

Html5 canvas not working in browser

  • December 3, 2019
  • 2 replies
  • 2029 views

Created html5 canvas file with actions buttons. Tested it from the screen, it works fine on the browser. But when it's published into html, it is just white blank on the browser. What should I do??

This topic has been closed for replies.

2 replies

Legend
December 3, 2019

The browser security issue you're probably running into is bitmap buttons. If this is something that has to be run from a local or network drive, get rid of the bitmap buttons.

 

As already pointed out, this won't be an issue once the pages are uploaded to a web server. It's a security issue with local filesystems only.

 

If this is just for testing, you can use IE11. It hasn't been updated like Firefox and Chrome have to treat the local filesystem as insecure.

JoãoCésar17023019
Community Expert
Community Expert
December 3, 2019

Hi.

 

This is probably because of browser security issues which means you're gonna need a local server (like XAMPP or the Live Server extension from Visual Studio Code) or an online server (Netlify is great and you only need to create an account and drag and drop your folder onto their sites page) to run your content.

 

Animate automatically setups a server for you and this is the reason why you can test your content succesfully.

 

 

Regards,

JC