Search results
Search results 1-20 of 34.
Can I add into Source code 1 embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"auto", mobilescale:1.0, passQueryParameters:true }); " ?? Quoted from "Tuur" Hi, I think it is fairly simple. If you have an xml(s) for desktop and another xml(s) for mobile you can do: Source code 1 There are more options of course. For example you can also give such a devices setting to an action, layer, hotspot, style, event etc etc.. and most often also their attributes. So it is possible with 1xml ...
Thank you for your support
I want to do tour.xml version for Mobile and Pc one by one, but don't know how to check the device and then load the tour.xml file for each, I have referenced here but it doesn't work https://krpano.com/forum/wbb/index.php?p…&threadID=10686
How to change style hotspot when clicked hotspot from client side?
I want to create a colorpicker so the user can select the polygon hotspot and change its color, what code in krpano do I use to do that? thanks
Quoted from "kme" That site is not playing any sound either if you don't interact with the pano. I would put something in a mousedown event. something like (untested) Source code 1 playsound(bgsound, "sound.mp3"); I'm not a fan of playing sound in the backgroudn tho. If a site does that, my response is to close it. I believe it is more common / user friendly to ask to enable background sound and start playing if the answer is yes. gr, Kristof Thank you very much for your help. Let me try it , H...
I created a background music that automatically plays when the page loads but sometimes it can't play and gives me an error like this "Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD" How to fix it? this site always plays background music without error, I don't know how they do it , example : https://techvr360.com/demo/hongduc_v5/vi_tour/index.html
Quoted from "kme" The setting onhover_autoscrolling= "false" is only for the scrollarea plugin (https://krpano.com/plugins/scrollarea/) Since you created your own plugin, you need to handle this yourself. You can disable scrolling by setting the "disablewheel" of the control to true. https://krpano.com/docu/xml/#control.disablewheel krpano action code: Source code 1 set(control.disablewheel, true); And you can set it to false again when hiding the dialog. gr, kme . thank you very much, it's wor...
in tour.xml file Source code 1 <plugin name ="modal" visible ="false" url ="modal.js" keep ="true">
Quoted from "kme" Quoted from "yenph" I created a plugin to show modal when clicking on hotspot , by passing in html but I can't use the scroll wheel to move the content of the html , it only changes the zoom, I tried giving the plugin a value onhover_autoscrolling= "false" but still not working Can you share some code on how you create the "modal" ? Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48...
I created a plugin to show modal when clicking on hotspot , by passing in html but I can't use the scroll wheel to move the content of the html , it only changes the zoom, I tried giving the plugin a value onhover_autoscrolling= "false" but still not working
tha Quoted from "kme" Hi, See an old post of mine with an example too: https://krpano.com/forum/wbb/index.php?p…89003#post89003 If you want more info, getlooktodistance is your best keyword to search for more information. regards, kme nk you for your support, let me try
I want to hide hotpots that are out of screen view, and show up when in view screen, what property should I use? for Example : https://bds.vr360plus.vn/projects/matrix-one-360/
Quoted from "klaus.krpano" Hi, please see this thread: The div creat by JS was not visible in krpano fullscreen mode,but it's visible in the Browser's fullscreen mode(chrome firefox..) Either add your html to the krpano viewer (to be included in the fullscreen), or set display.customFullscreenElement to a custom html elements that includes the krpano viewer and your html element. Best regards, Klaus thank you for your support, let me try
Quoted from "klaus.krpano" What do you mean with 'modal'? In the krpano Tools app? Screenshots? sorry , my question not clearly, i create a modal by html to show information, but when i enter fullscreen mode of Krpano , it not show the modal, then I quit fullsreen the modal show
Quoted from "kme" Something like this: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <hotspot name="textspot_left" type="text" html="Left line" height="150" css="font-size:80px;text-align:center;" vcenter="true" bgalpha="0.8" bgroundedge="10" bgborder="2 0x000000 1" bgshadow="0 0 5 0xFFFFFF 1.0" ath="125" atv="0" scale=".25" /> <layer name="textspotline_left" parent="hotspot[textspot_left]" type="html" width="3" height="200" align="left" y="175" bgalpha="1" bgcolor="0xff0000" /> D...
I am facing the problem that when I turn on fullscreen mode, the modal cannot be displayed, but when I exit fullscreen, the modal is displayed.