I am attempting to use the X3DOM “inline” tag to load X3D models into an HTML page.
Running Windows 11 on an HP laptop and apparently MS Edge will not read local server files.
The HTML code worked fine when Chrome was my browser. The X3D still opens and behaves fine but Edge simply ignores the command. It still shows everything else defined in the HTML page.
I could install Chrome I guess but would like to minimize the amount of SW on this new and relatively clean laptop.
Hi,
are you asking here, because the x3dom documentation suggests using the http.server module to provide access to the file?
Have you tried to run a more “production-ready” web server? Just for testing, you could run Apache, nginx, … in a container and add you 3d-file directory as a volume.
Since it works fine with chrome, it could also be some kind of policy within edge that prevents access to local files in some way. This is probably beyond the scope of this forum, but you could check, if you see any error in the Network or Console sections of edge’s developer tools and maybe compare what you see there with chrome.
Finally, I recommend to also add an issue with x3dom, if you have not already done it.
I don’t want to exclude the possibillity that there is something wrong with http.server but it’s more likely something with edge, since it works with chrome.
Morning,
1st off, Thanx! Have since learned that according to others, MS Edge is the problem. Am probably going back to Chrome or maybe even (shudder) IE. There may be solutions but they are probably beyond my level of comfort. I am a pretty base level user – C, Python and JS above the keyboard and in front of the screen – I stay out of the registry and those other mysteries. 1st code in '67 and probably not more than 1 or 2 deep system dives.