x

VR view Help

I dropped in the code that supposedly worked from here, and added my image link to it and it says "Unable to find texture"

HELP! my image link is https://goo.gl/apY374 my code is  

<!DOCTYPE html>
<html>
<head>
<script src="//storage.googleapis.com/vrview/2.0/build/vrview.min.js"></script>
</head>

<body>

<div id="vrview">

</div>


<script>var vrView = new VRView.Player('#vrview', {
image:'https://goo.gl/apY374',
is_stereo: false,
is_autopan_off: true,
});</script>

</body>

</html>

2,770 Views
Message 1 of 10
Report
9 REPLIES 9
Square

Could you provide a link to the live page where you added this, @ECR? It might help to see it in action.

2,756 Views
Message 11 of 10
Report

2,741 Views
Message 11 of 10
Report
Square

It seems like the problem is on Google's end, but I'm not sure. I tried to take a look at the page in the editor but couldn't since it looks like you might have it open in the editor yourself.

2,738 Views
Message 11 of 10
Report

not on it anymore @Adam

2,707 Views
Message 11 of 10
Report
Square

Try using this code instead, @ECR:

<script src="//storage.googleapis.com/vrview/2.0/build/vrview.min.js"></script>

<div id="vrview">

</div>
<iframe class="framebox inherit-locale " style="width: calc(100% + 40px); height: 346px;" src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" id="autoSize-0">&lt;p&gt;[This section requires a browser that supports JavaScript and iframes.]&lt;/p&gt;
</iframe>
<script>var vrView = new VRView.Player('#vrview', {

image:'http://www.riverviewllp.com/files/theme/GOSR1999.jpg',

is_stereo: false,

is_autopan_off: true,

});</script>

The extra HEAD, BODY, and HTML tags might cause display issues. It might not fix the original problem, but it'll make your page have no syntax errors.

I think the main problem is the image you have linked is giving a 404. Try moving it to the root Assets folder in the theme editor, rather than in the Images subfolder of it. That should make it so that /files/theme/GOSR1999.jpg finds the image.

2,701 Views
Message 11 of 10
Report

Ugh that still didn't work, could you make a code for me with http://www.riverviewllp.com/files/theme/GOSR1999 as the 360 picture,I was just testing with that google logo that wasn't supposed to be in it. @Adam

2,687 Views
Message 11 of 10
Report
Square

You mean like this?

<script src="//storage.googleapis.com/vrview/2.0/build/vrview.min.js"></script>

<div id="vrview">

</div>
<iframe class="framebox inherit-locale " style="width: calc(100% + 40px); height: 346px;" src="http://www.riverviewllp.com/files/theme/GOSR1999.jpg" id="autoSize-0">&lt;p&gt;[This section requires a browser that supports JavaScript and iframes.]&lt;/p&gt;
</iframe>
<script>var vrView = new VRView.Player('#vrview', {

image:'http://www.riverviewllp.com/files/theme/GOSR1999.jpg',

is_stereo: false,

is_autopan_off: true,

});</script>
2,684 Views
Message 11 of 10
Report

That seems close, this is what it looks like with the code I have in right now http://www.riverviewllp.com/360-test-page.html @Adam

<script src="//storage.googleapis.com/vrview/2.0/build/vrview.min.js"></script>

<div id="vrview">

</div>
<iframe class="framebox inherit-locale " style="width: calc(100% + 40px); height: 346px;" src="http://www.riverviewllp.com/files/theme/GOSR1999" id="autoSize-0">&lt;p&gt;[This section requires a browser that supports JavaScript and iframes.]&lt;/p&gt;
</iframe>
<script>var vrView = new VRView.Player('#vrview', {

image:'http://www.riverviewllp.com/files/theme/GOSR1999',

is_stereo: false,

is_autopan_off: true,

});</script>

2,667 Views
Message 11 of 10
Report

Sir please help me from today morning iam not able to login, it is redirecting to me login page again and again. It's emergency iam long customer using weebly sites. This is my site http://interstellarinnov.weebly.com
cfdcdfcdf@gmail.com

My work is stuck please help asap thank you
2,712 Views
Message 11 of 10
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.