Highlighted

Html5 canvas not working in browser

New Here ,
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

388

Likes

Translate

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

Html5 canvas not working in browser

New Here ,
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

389

Likes

Translate

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
Dec 03, 2019 0
Adobe Community Professional ,
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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

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
Reply
Loading...
Dec 03, 2019 1
ClayUUID LATEST
Adobe Community Professional ,
Dec 03, 2019

Copy link to clipboard

Copied

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.

Likes

Translate

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
Reply
Loading...
Dec 03, 2019 1