supereggbert/aframe-htmlembed-component

Null is not a valid URL - Check element hasAttribute href

LukeTOBrien opened this issue · 0 comments

Hello,

I'm getting a Null is not a valid URL exception in generatePageCSS on line 285.
I think a hasAttribute check will solve the issue.

My situation is that I have my scene within an iframe, so I'm wondering if all the document.querySelectorAll statements are selecting from the parent document? Because there shouldn't be any styles in the iframe.