Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
coderextreme opened this issue Jan 9, 2024 · 3 comments
Closed

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

coderextreme opened this issue Jan 9, 2024 · 3 comments

Comments

@coderextreme
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants