scenevr / htmltexture-component

Aframe component for using html as a texture, powered by html2canvas
https://scenevr.github.io/htmltexture-component/
MIT License
48 stars 12 forks source link

Does not work with latest aframe #3

Open omnidan opened 8 years ago

omnidan commented 8 years ago

I'm getting the following error when including this with the latest aframe version:

Uncaught (in promise) TypeError: Cannot read property 'register' of undefined

You can check this out here: http://codepen.io/anon/pen/MyzwVX?editors=1001

VermontMediaSolutions commented 8 years ago

Also having issues with latest AFrame Build. It appears to be an issue with line 119,

this.draw.register(this.render.bind(this));

tizzle commented 8 years ago

Please make sure you also have the aframe-draw-component in your project, as this component uses the draw component.

revolunet commented 8 years ago

works with aframe 0.3.2

tsboom commented 7 years ago

@tizzle Adding aframe-draw-component, and ensuring that it was loaded before htmltexture-component worked for me