googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

Inception and issue with iframe #271

Open mdelclaro opened 6 years ago

mdelclaro commented 6 years ago

Hello.

My iframe seems to be loading wrongly. It's always missing the host. Like this:

<iframe allowfullscreen="true" scrolling="no" width="100%" height="480" src="http://index.html?image=http://lobo.com.br/img/img360_1.jpg&amp;is_stereo=false&amp;is_autopan_off=true&amp;" style="border: 0px;"></iframe>

It's missing the lobo.com.br. This is wrong, right?

I'm assuming that this is wrong, so when I mannualy put lobo.com.br after "index.html", it loads the entire web page inside the iframe.

I know I'm doing something stupid, just don't know what. Please, help :)

mattferderer commented 6 years ago

I'm running into this issue as well. Trying this out for the first time today & using a simple Python server to create my test environment with an index.html page, vrview.min.js, embed.min.js script & local images.

mattferderer commented 6 years ago

@mdelclaro it appears I fixed this by downloading the gh-pages branch instead of using the links on the ReadMe. I'm assuming they must be updated files.

piperhaywood commented 6 years ago

I'm seeing this too.

It seems to only be happening over 4G networks (WiFi is fine), which is very strange. I'm going to try using the gh-pages branch as suggested by @mattferderer and see how that goes.