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

Not working with arjs inside a-marker #28

Open
dev-mohib opened this issue Nov 14, 2021 · 3 comments
Open

Not working with arjs inside a-marker #28

dev-mohib opened this issue Nov 14, 2021 · 3 comments

Comments

@dev-mohib
Copy link

I want to use html inside a-scene for web ar. This library works as usual but not showing the contenet between
<a-scene> <a-marker> <a-entity htmlembed> <h1>An Example</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </a-entity> </a-marker> </a-scene>
According to the arjs documentation https://ar-js-org.github.io/AR.js-Docs/marker-based/
I would really appreciate if anyone has alternative solution for this is problem

@giaaaacomo
Copy link

I want to use html inside a-scene for web ar. This library works as usual but not showing the contenet between <a-scene> <a-marker> <a-entity htmlembed> <h1>An Example</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </a-entity> </a-marker> </a-scene> According to the arjs documentation https://ar-js-org.github.io/AR.js-Docs/marker-based/ I would really appreciate if anyone has alternative solution for this is problem

did you find a way to work it out?

@val14-98
Copy link

Hello, @giaaaacomo @dev-mohib did you find a solution ?

@giaaaacomo
Copy link

Hello, @giaaaacomo @dev-mohib did you find a solution ?

what i'm doing now is creating a screenshot of the rendered html page (there are many tools for that, like https://github.com/microweber/screen or https://github.com/maaaaz/webscreenshot, and more, or some external paid services) server side, saving it as image.png on the server, then loading https://your.server.url/image.png as a-entity.

basically i'm doing what this lib does, but externally. of course you need a server that you can control via ssh to install the needed packages, so services like github pages won’t work

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

3 participants