(30.1 KB)I was playing with my Project to load Scene 2 into an iFrame on Scene 1.
All works as expected in Safari and Chrome but does anyone know why when I Preview this Project in Firefox the loading of scene 2 does not display in the widget/iframe.
The DOM shows it is all there and has the right src. But nothing shows in the page.
My feeling is that Firefox is disallowing recursive iframes for stability reasons. In the console, I see that there’s an issue with text encoding in the iframe element – never seen that problem in my life.
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it.
I added this:
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"> to the head of the main Hype document, and now I don’t get an error. But I still don’t see anything. I’m stumped.
Great function, but I have a question to build on it.
I can’t seem to figure out how to construct it in a way that you can load different scenes with the same Iframe as target. Has anyone an idea how to rebuild this code to make that happen?
Thank you!