Some browsers will let you display X3D content using X3DOM from your local filesystem, others will need to operate in a web server environment. This is due to slightly different interpertations of security policies by those browsers. To be sure everything works, upload all of your files (HTML, X3D models, textures, and other resources) to your web server https://realism.com/blog/add-x3d-your-webpage