create3000 / x_ite

X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.
https://create3000.github.io/x_ite/
Other
66 stars 13 forks source link

ExternProtoDeclare not downloading? X3D checks in X3D-Edit. #165

Closed coderextreme closed 5 months ago

coderextreme commented 6 months ago

https://coderextreme.net/X3DJSONLD/src/main/html/x_iteflowers.xhtml

JSON version downloads here:

https://coderextreme.net/X3DJSONLD/src/main/html/indexts.html

Although there seems to be downloads that don't succeed.

image

coderextreme commented 6 months ago

This works: https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/ArtDecoExamplesIndex.html

So maybe not an issue with downloading ExternProtoDeclare? I'm clueless. I will have to go somewhere else to think.

coderextreme commented 6 months ago

In Sunrize:

sphereflowers.x3d:

image

sphereflowers.json:

image

Turning on animation and sound works great in Sunrize (I could capture video), so there's probably something I need to do to start animation in X_ITE? I'm not sure why my index.html works then. Maybe add a way to turn on animation and sound in the X_ITE menu? Thanks!

create3000 commented 5 months ago

This is due a bug in Chrome, when the page is a XHTML page, as in your case. Because X_ITE uses the Custom Elements API, Chrome does not forward the attributes of the custom element as the API requires. If you can, pleas file a bug at the Crome bug report page.

As workaround convert your XHTML to a modern HTML 5 page.