Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

No media at all #37

Closed
dlnkprs opened this issue Jul 29, 2016 · 4 comments
Closed

No media at all #37

dlnkprs opened this issue Jul 29, 2016 · 4 comments

Comments

@dlnkprs
Copy link

dlnkprs commented Jul 29, 2016

Hi,

I've downloaded the ZIP and opened the index.html and examples. It keeps giving me error messages. On the homepage it says "Loader: Unable to load scene. Required parameter missing." On the video example page "Video load error" and on the pano example it says "Render: Unable to load texture from examples/pano/andes_512.jpg". The console gives me this: "Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access."

It's all load errors. Am I retreiving the content the wrong way? Do I need to use https or something? I have not changed anything in the demo code. Also tried to get it to work on a local server (xampp), didn't work either. How can I get this to work? Absolutely love the idea to make 360/VR available in browser.

Thank you.
Dylan

@borismus
Copy link
Contributor

Please try the example page:
storage.googleapis.com/vrview/examples/pano/index.html, and follow the
example once more.

On Fri, Jul 29, 2016 at 11:59 AM dlnkprs [email protected] wrote:

Hi,

I've downloaded the ZIP and opened the index.html and examples. It keeps
giving me error messages. On the homepage it says "Loader: Unable to load
scene. Required parameter missing." On the video example page "Video load
error" and on the pano example it says "Render: Unable to load texture from
examples/pano/andes_512.jpg". The console gives me this: "Image from origin
'file://' has been blocked from loading by Cross-Origin Resource Sharing
policy: Invalid response. Origin 'null' is therefore not allowed access."

It's all load errors. Am I retreiving the content the wrong way? Do I need
to use https or something? I have not changed anything in the demo code.
Also tried to get it to work on a local server (xampp), didn't work either.
How can I get this to work? Absolutely love the idea to make 360/VR
available in browser.

Thank you.
Dylan


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#37, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ8gC_EOihyNX0RWWOfYpWqRMIUMzHaks5qak18gaJpZM4JYehh
.

@beerbaron88
Copy link

Hi, i have the same problem.
I downloaded the scripts but index.html and the examples but they do not work and i get the same error. What can i do to fix it?

@Tommyhuls
Copy link

Tommyhuls commented Sep 14, 2016

I get the same issue, seems to be a local error when running from our computers. When i upload all the files to my web server it all works fine. Would love to get this to work offline, as in give a client a usb stick and they can run the file without an internet connection.

@borismus
Copy link
Contributor

You need to run VR View on an http/s scheme. file URLs won't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants