Search results
Search results 1-20 of 1,000. There are even more results, please redefine your search.
Hi, hmm... that doesn't happen when I test it... Beside that - that would mean that Safari was putting that text with the surrounding the html code into the clipboard... and when pasting then just that text was inserted... Somehow filtering pasted content would be a bad idea, what if such code was intended to be pasted? Best regards, Klaus
Sure, just like in any other Javascript code - the code only need to be inside a 'async' function: Source code 1 2 3 4 5 6 7 8 9 10 <action ... type="js"><![CDATA[ async function asyncCall() { ... inside a async function you could use await ... } asyncCall(); ]]></action> or just run directly an anonymous function: Source code 1 2 3 4 5 6 <action ... type="js"><![CDATA[ (async function() { ... inside a async function you could use await ... })(); ]]></action> But note - async, await is only synt...
Hi, e.g. add these lines anywhere in the tour.xml: Source code 1 2 3 <action autorun="onstart"> skin_hideskin(instant); </action> Best regards, Klaus
Hi, the left and right images are slightly different! Best regards, Klaus
Hi, the view-limitations are getting disabled by default when enabling gyro-control or the VR-mode. There is a way to re-enable them, but if that result would be acceptable depends on the actual pano - please see here for more: vlookatmin / vlookatmax not working with gyro2 before the first loadscene call Best regards, Klaus
Hi, either check for the current mouse button - e.g: Source code 1 if(mouse.button == 1, ...); or Source code 1 if(mouse.leftbutton, ...); See: https://krpano.com/docu/actions/#mouse.button https://krpano.com/docu/actions/#mouse.leftbutton or change the control.panomousebuttons setting to 1: https://krpano.com/docu/xml/#control.panomousebuttons E.g. Source code 1 <control panomousebuttons="1" /> Best regards, Klaus
Quoted from "insideplaces" try to use this plugin you suggested. ...no plugin, just change 'playsound' to 'streamsound' in your html file... a simple and easy change...
Hi, look in the vtourskin.xml for 'skin_nextscene_loop' for example code. Best regards, Klaus
Hi, add prealign="true" to each <hotspot> in the xml. (but note - the is a bug in the current version 1.21, distorted webgl-hotspot would have a wrong position in this case, this will be fixed in the next release). Best regards, Klaus
Hi, geo-location could be a solution... E.g. create a list with of all mountains with their latitude/longitude/altitude, also find the latitude/longitude/altitude + orientation for your pano-images, then you could try to create the hotspots automatically based on these information. E.g. search for some math to convert latitude/longitude/altitude to x/y/z, then calc the x/y/z deltas to the current pano position, and then convert the delta values to the actual ath/atv angles of the hotspot... Best...
Hi, E.g. add lines like these in your xml: Source code 1 2 <include url="..." devices="ios" /> <include url="..." devices="no-ios" /> See here for more information: https://krpano.com/docu/xml/#devices Btw - the include is a xml-parsing element, not a variable that can be set. That's why your code isn't working. Additionally - your js-detection only per userAgent isn't very reliable, the iOS browsers also have 'desktop' mode... Best regards, Klaus
Hi, I think it might your .mp3 sound file - it is huge (~58MB). Note - the playsound action uses the WebAudio API and that API fully loads and decodes the sound file before playing - and a compressed 58MB mp3 files needs as decoded sound samples surely an huge amount of memory (in your case: 2428sec * 44100hz * 32bit * 2stereo = ~817MB). Try using streamsound instead - that will load and play the file chunk-wise and use much less memory. Best regards, Klaus
Hi, try this: Source code 1 <events onloadcomplete="set(view.limitview,'fullrange');" /> Best regards, Klaus
Sorry, the bouncinglimits parameters are currently not adjustable - but I have added this now as feature request.
Quoted from "Loro" When using a panotour on iOS devices and switch on gyro mode, the image is upside down. Is there any workaround for this? @Klaus: Will you provide a fix for this sometime? That's already fixed, use the latest version: https://krpano.com/news/#news121_ios164 krpano 1.21 (pre-release)
Hi, actually the hotspots don't move, the pano does Try adding prealign="true" to the hotspots. Best regards, Klaus
That just a 90 degree rotation around the y-axis. We have probably used different axes/position mappings when trying. When the pano-mapping fits, that doesn't matter that much. For the model I have used: axis="+x+y+z" (the default) and for the pano positions: origin.x = -position.x * 100 origin.y = -position.z * 100 origin.z = -position.y * 100
Hi, the transitions seems to be working, but some settings in the vtourskin.xml doesn't make sense... Look in the your vtourskin.xml in the 'skin_scene3dtransition' action and change there these values: Source code 1 2 motionblur = 5; transitiondelay = 2.0; back to their defaults: Source code 1 2 motionblur = 0.5; transitiondelay = 0.0; Then clear the browser cache and load/try again. Best regards, Klaus
See here: Reverse engineering matteport coordinates