Ah, I hadn't tried uploading tour.js - it works! Thanks very much
Posts by Crusty
-
-
Hi there,
Klaus recently kindly issued me with an updated krpano viewer licence that is registered to me, rather than the member of staff that has left our company. We've also set-up a separate identity for this part of the business, and the license is now reflecting that name.
We have hundreds of panorama networks online that are using the old licence. Is there a simple way of updating them all to the new licence? I'm hoping there might be a particular file we can upload, overwriting the old version, to get the new licence active. I've tried uploading files from plugins and skin, but it's not changing the license.
Can anyone help?
-
Apologies everyone, it's another schoolboy error, I've realised I'd changed the scene tag instead of the title tag :-/
-
I'm getting the "invalid name! Names need to begin with an alphabetic character!" error with krpano 1.21.2 (build 2023-12-11). I like having panoramas name "01 Something...", "02 Something else...".
(Edit: My error, see below...)
-
Hi Everyone,
Does anyone know of a way of rearranging the order of the panoramas, just by drag and dropping them in an interface, like the thumbnail interface in the viewer? Okay, I can edit the XML, but it'd be nice to have a drag-and-drop interface to do it.
Thanks, Chris
-
Thanks for the reply and interesting that it's working for you. Would you mind letting me know which iPhone model and iOS version you are using?
I am so sorry that you don't like audio automatically playing.
-
Hi Turr,
Here's a link: https://www.vtsw.uk/vt/thg/vtsample.php. I've done the screen touch thing and am sure the volume is up, I tried it on a friend's new iPhone and it didn't work.
I just tried it with the iPhone connected to a Bluetooth speaker and that works fine. I turned the speaker off and it then immediately started working on the phone. I went through exactly the same process again: connect Bluetooth speaker start tour and there's sound, disconnect speaker, but this time, no sound. Repeat a few more times, try with Bluetooth headphones, no sound.
I've tried with Safari, Bing and Firefox, none of which work.
It's strange that very infrequently the sound does work through the phone's speakers, but 95+% of the time it doesn't. I've not altered the code. I've restarted the iPhone a few times.
At a loss what to do next...
-
Hi insideplaces, as per my comments here: SoundInterface doesn't work on iPhone. Why? there's no sound for your tour on my iPhone 7 Plus. I connect a bluetooth headphone and there's the coolest music!
-
This is an old thread, but I've been experiencing this too. I've got an iPhone 7 Plus running Software Version 15.8.2. I can play audio through the phone's speakers on the phone fine, but not from krpano. If I connect a Bluetooth headphone to the phone, the krpano audio works. Disconnect the headphone and the audio stops. I've tried pre-loading the audio, but that doesn't help. I've been using .mp3 files on my Windows laptop and Android phone and all's good. I've tried .m4a files, but that doesn't change anything on the iPhone. I'm using krpano 1.21.2 (build 2023-12-11). As thienkd pointed out at the start of this thread, the example on the krpano website doesn't work on my iPhone either.
Any ideas anyone?
-
Doh! My mistake. Schoolboy error not including the semi-colon; thanks
-
I think it's use3dtransition="true". If I take that out, it works, put it back in, it doesn't.
later: ...no, I think it's more than that. I've spotted that sometimes krpano 1.21.2 adds a prealign setting to the image tag, then it works. Other times it doesn't add that tag, then it doesn't work. Unless someone's already got a solution, there's research to do...
-
Well, that worked last night, but not tonight... It's still an issue for me.
-
Is it possible to have & in the above? I'd like to use title="This & That" but that gets an xml error. I've tried title="This & That" and that errors as well. Any ideas how to do this? Or do I just have to use and?
-
I worked it out 1.21 adds "alt="-0.00" heading="0.0"" at the end of scene names in tour.xml. Take that out, and it works.
-
I tried it with version 1.20 and it works properly (i.e. as I expected it to).
Klaus, could / should you fix this?
-
Thanks, I'll check that out.
As far as I can tell, krpano version 1.19 worked without needing to change any code, but version 1.21 has the issue. I'll dig out an old copy of 1.19 at some point and try it with the same panoramas.
-
Hi there,
So, with this set of panoramas https://chrisl.me/vr/bb/ if you click the next panorama arrows, you'll see that all panoramas have the startup view looking at the sunset. But when you click the hotspot arrows, the views are looking in other directions.
Is this a bug? Does anyone know how to fix it?
-
I had to revisit this as it was only intermittently working. I’ve now rehashed the whole lot so thought I’d post my new method for getting it working.
It’s all live at https://chrisl.me/vr/blueball/.
If you look at the source code, you’ll see that I’m now using a set of JavaScript functions to preload the images and audio.
-
Thanks Александр, I'll check that out...
-
THIS IS HOW WE DO IT!
After a couple of days of Googling, faffing, trying apps and getting nowhere, I finally managed to find out how to achieve this. I’m really
surprised no one else has posted regarding this as it seems like it’s pretty fundamental to be able to make tours work offline.To see an example of what I’ve done, go to https://www.chrisl.me/vr/blueball/. As you’ll see, it takes a while for the first panorama to display and that’s because all the other panoramas and audio are downloading in the background. Before you click to go to the next panorama, disconnect your computer / smartphone from the Internet. Then, when you go to the other panoramas, you’ll see that the images and audio correctly load, even though you’re offline.
Here’s what you need to put into the tour.html file. For each image you need to have a line such as:
<link as="image" rel="preload" href="https://www.chrisl.me/vr/blueball/pa…iles/pano_b.jpg" />
For the audio, it needs to be:
<audio id="01" preload="auto"><source src="https://www.chrisl.me/vr/blueball/audio/01.mp3"></audio>
If you check out https://www.chrisl.me/vr/blueball/tour.xml you’ll see how I’ve added the audio to the panoramas.