Home

Adding the ability to load local WebGL content

%3CLINGO-SUB%20id%3D%22lingo-sub-821352%22%20slang%3D%22en-US%22%3EAdding%20the%20ability%20to%20load%20local%20WebGL%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-821352%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3EWas%20wondering%20if%20the%20Edge%20Dev%20team%20were%20planning%20on%20adding%20the%20ability%20to%20load%20local%20HTML%20files%20that%20contain%20WebGL%20content%2C%20like%20what%20is%20currently%20possible%20in%20regular%20Edge%3F%3C%2FP%3E%3CP%3EI%20sometimes%20receive%20homemade%20Unity%20WebGL%20games%20from%20friends%20of%20mine%20in%20HTML%20files%20and%20I%20am%20unable%20to%20load%20them%20in%20Chromium%20browsers%20(online%20WebGL%20content%20is%20fine)%2C%20but%20i%20can%20load%20them%20in%20OG%20Edge.%3C%2FP%3E%3CP%3EWebGL%20has%20always%20had%20great%20support%20in%20Edge%20(in%20my%20experience)%20and%20i%20was%20hoping%20they%20would%20continue%20that%20with%20their%20new%20venture.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823588%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20the%20ability%20to%20load%20local%20WebGL%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823588%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F343003%22%20target%3D%22_blank%22%3E%40wrinklyavocado%3C%2FA%3E%2C%26nbsp%3B%3CSPAN%3EI%20would%20like%20to%20see%20if%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Eallow-file-access-from-files%20%3C%2FSTRONG%3E%3CSPAN%3Ecommand%20line%20switch%20would%20help%20you%20with%20this.%26nbsp%3BRight-click%20Microsoft%20Edge%20Canary%2FDev%2FBeta%20shortcut%20on%20your%20desktop%20and%20go%20to%20Properties.%26nbsp%3BAppend%20%3C%2FSPAN%3E%3CSTRONG%3E-allow-file-access-from-files%3C%2FSTRONG%3E%3CSPAN%3Ein%20the%20%3CSTRONG%3ETarget%3C%2FSTRONG%3Etext%20box.%26nbsp%3BDouble%20click%20on%20the%20shortcut.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-823645%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20the%20ability%20to%20load%20local%20WebGL%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-823645%22%20slang%3D%22en-US%22%3EThanks%20for%20the%20response%20Eric%2C%3CBR%20%2F%3EI'll%20try%20it%20as%20soon%20as%20I%20get%20home%20and%20I'll%20keep%20you%20posted.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-824401%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20the%20ability%20to%20load%20local%20WebGL%20content%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-824401%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F352734%22%20target%3D%22_blank%22%3E%40Eric_MS%3C%2FA%3E%26nbsp%3BHi%20Eric%2C%20i%20tried%20using%20the%20command-line%20addition%20in%20the%26nbsp%3B%3CEM%3ETarget%3C%2FEM%3Efield%20but%20was%20still%20unsuccessful%20in%20opening%20the%20local%20WebGL%20HTML%20file.%3C%2FP%3E%3CP%3EThanks%20for%20the%20suggestion%3C%2FP%3E%3C%2FLINGO-BODY%3E
wrinklyavocado
New Contributor

Hi there,

Was wondering if the Edge Dev team were planning on adding the ability to load local HTML files that contain WebGL content, like what is currently possible in regular Edge?

I sometimes receive homemade Unity WebGL games from friends of mine in HTML files and I am unable to load them in Chromium browsers (online WebGL content is fine), but i can load them in OG Edge.

WebGL has always had great support in Edge (in my experience) and i was hoping they would continue that with their new venture.

Thanks

3 Replies

@wrinklyavocadoI would like to see if allow-file-access-from-files command line switch would help you with this. Right-click Microsoft Edge Canary/Dev/Beta shortcut on your desktop and go to Properties. Append -allow-file-access-from-files in the Target text box. Double click on the shortcut.

Thanks for the response Eric,
I'll try it as soon as I get home and I'll keep you posted.

@Eric_MS Hi Eric, i tried using the command-line addition in the Target field but was still unsuccessful in opening the local WebGL HTML file.

Thanks for the suggestion