HTML5 canvas not working on PHP files
I have a problem when I change an animate canvas file from html to php so it doesn't start up. In the Chrome browser, I get this message in the console:
Failed to load resource: the server responded with a status of 404 (Not Found)
Uncaught ReferenceError: AdobeAn is not defined
at init (index.php:33)
at onload (index.php:105)
Failed to load resource: the server responded with a status of 404 (Not Found)
Inside the init function I get this marked with red text was comp = AdobeAn.getComposition ("89ED7AB5C946D849B35B1594202278DE")
With Microsoft's Edge browser, I get this message in the console: SCRIPT5009: SCRIPT5009: 'AdobeAn' is not defined index.php (33,2)
What is it due to? I want the canvas in the php file.