host panoramas on our own webpage?

hi

i wonder if anyone know if it’s possible to host panoramas on our own webpage?

i have searched the web, but the best / simplest javescript based ones uses not single panorama images, but the 6 image model.

thanks

jorgensen

Have a look into our knowledge base and scroll down to Going further: https://enscape3d.com/knowledgebase/panorama-cardboard/

thanks thomas - i will.

jorgensen

has anyone tried this or found a tutorial?

I have found this one

https://www.sitepoint.com/embedding-virtual-reality-across-the-web-with-vr-views/

but if i download and changed the iframe to this

Try hosting the image, the html and the javascript under the same origin. It might be a same-origin policy problem, see https://en.wikipedia.org/wiki/Same-origin_policy

hi simon

i have downloaded the vr view package, extracted to my local server under

root/vrview

i have downloaded the coral.jpg image from storage.googleapis.com/vrview/examples/coral.jpg&is_stereo=true

and copied this to root/coral.jpg.

i have then tried with a html containing

Sorry if this is a dumb answer but my users get a black screen when they open the panoramas with Internet explorer. Make sure you are opening them up in Google Chrome or some other browser.

@Cole_Foster Sometimes the easiest solutions are overseen because you’re focusing too much on detail. Thanks for sharing!

@Jorgensen_dk Are there any news on this topic? Still black?

Hi Jonathan,

Is the compatibly for Internet Explorer something that Enscape will be working through or is the recommendation that alternate internet browsers be used?

Thanks in advance.

Tim Waugh

The panoramas hosted by Enscape use the “VR View” library from Google for rendering. At the time we made this choice, most browsers and mobile devices (including Internet Explorer) were supported. Then new phones came out, that were not compatible anymore. And a new version of VR View came out, that is compatible with the new devices, but no longer with Internet Explorer. We made the choice to update to the new version of VR View, knowing that Internet Explorer is no longer supported.

You have several options:

  1. Do not use Internet Explorer. There are plenty of alternatives, even one from the same company (Microsoft Edge).
  2. Save your panoramas as image files and host them yourself using the old version of VR View.
  3. Use 3rd party hosting providers.

@Jorgensen_dk Regarding hosting panoramas yourself using VR View.

If you have the old version of VR View, you need to include it the way it’s documented:

<script src="build/vrview.js"></script>

But if you are using the new version of VR View, you need to include other files:

<script src="build/three.js"></script>
<script src="build/embed.js"></script>

If you use the former code snippet the screen stays blank. We had to learn this ourselves when upgrading the library.