You are not logged in.

Search results

Search results 1-20 of 34.

Monday, May 15th 2023, 11:00am

Author: yenph

How to load tour.xml file by device type?

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 ...

Thursday, May 11th 2023, 9:44am

Author: yenph

How to load tour.xml file by device type?

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

Saturday, April 29th 2023, 9:11am

Author: yenph

Setting hotspot style with JS not working

How to change style hotspot when clicked hotspot from client side?

Friday, April 28th 2023, 11:55pm

Author: yenph

How can I change the color of a hotspot polygon from the 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

Friday, March 31st 2023, 4:04am

Author: yenph

How to fix : play() failed because the user didn't interact with the document first?

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...

Thursday, March 30th 2023, 12:42pm

Author: yenph

How to fix : play() failed because the user didn't interact with the document first?

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

Tuesday, March 21st 2023, 2:33am

Author: yenph

How to scroll html in plugin?

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...

Monday, March 20th 2023, 2:25pm

Author: yenph

How to scroll html in plugin?

in tour.xml file Source code 1 <plugin name ="modal" visible ="false" url ="modal.js" keep ="true">

Monday, March 20th 2023, 2:23pm

Author: yenph

How to scroll html in plugin?

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...

Monday, March 20th 2023, 12:02pm

Author: yenph

How to scroll html in plugin?

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

Monday, March 20th 2023, 7:51am

Author: yenph

How to hide hotspots, layers when lying on the edge of the screen?

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

Monday, March 20th 2023, 5:38am

Author: yenph

How to hide hotspots, layers when lying on the edge of the screen?

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/

Friday, March 17th 2023, 2:45am

Author: yenph

how to show modal when fullscreen mode is on?

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

Thursday, March 16th 2023, 9:13am

Author: yenph

how to show modal when fullscreen mode is on?

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

Wednesday, March 15th 2023, 11:00am

Author: yenph

How to create a placehotspot text like this 360 website?

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...

Wednesday, March 15th 2023, 10:41am

Author: yenph

how to show modal when fullscreen mode is on?

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.