Sie sind nicht angemeldet.

1

Dienstag, 6. September 2016, 14:12

The WebVR Experience: How to handle slow connections and hotspots not fully loading

I've got my first pano/WebVR experience built and everything is working great. However, when the viewer has a slower net connection there are some scenes that take a long time to load. When the progress wheel animation stops and everything seems okay, you'll find that one of the hotspots hasn't shown up in the scene. No matter how long you wait, it never appears so the tour effectively stops, lol.

What are the best options for handling this situation? Is a plugin solution best? Changing a bit of code to extend a timeout setting? Not sure how to proceed.

Tnx

2

Mittwoch, 7. September 2016, 16:15

Klaus, any ideas?

3

Freitag, 9. September 2016, 21:54

What krpano version and what system/browser?

4

Freitag, 9. September 2016, 22:52

Using krpano-1.19-pr6

Browser is Safari - latest iOS.

This hasn't been a huge issue at all, but it has happened every now and then. Same thing with Chrome on Android.

Tnx

5

Freitag, 9. September 2016, 22:56

Sounds a bit strange and like a server problem...

Maybe try preloading the hotspot image - e.g. either by loading as hidden layer at the first possible time or when really necessary with preload=true.

When loaded once, the later usage/loading will be from the browser cache.

6

Sonntag, 11. September 2016, 17:14

Hi Klaus, I added this code to my tour.xml:

Quellcode

1
<hotspot name="spot3" style="skin_hotspotstyle" ath="2.533" atv="-1.536" preload="true" linkedscene="scene_pano3_l" />



Then I purposely went to the far range of my wifi router and took the tour.

There was one scene in particular that took awhile to load, and the hotspot never loaded.

Maybe I haven't done the code properly?

Tnx