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

Html5 canvas not working in browser

New Here ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

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??

TOPICS
Import and export

Views

1.9K
Translate

Report

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 ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

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

Votes

Translate

Report

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
LEGEND ,
Dec 03, 2019 Dec 03, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Report

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