You are not logged in.

Search results

Search results 1-20 of 156.

Saturday, March 14th 2020, 10:21am

Author: panopan

color correction of distorted hotspot video

Thank you very much! We'll look into that.

Wednesday, March 11th 2020, 3:03pm

Author: panopan

color correction of distorted hotspot video

Hi! So we've been trying to add some greenboxed video elements over the panorama. Following the tutorial available in these forums we have cut out a part of the panorama, and added it back as a distorted image hotspot. It's seamlessly integrated back, as expected. However, when trying to use the same image as a background for a video, no matter what our video editing guys tried, the colors always seem to be ending up different, making it obvious where the edges are. I've tried to search the foru...

Thursday, February 13th 2020, 7:06pm

Author: panopan

oculus glitch when changing panos, keepmove vs initial view

Dear Klaus! Just recently started testing and developing tours for the Oculus Quest. We've built our tours from scratch, not using the official codebase. One thing we've noticed is when changing panoramas, there is a slight jerkyness/shakiness of the view especially if there is head movement during the transition. Using the KEEPMOVING flag has eliminated this, however we would like to be able to use initial view settings on each pano, and this flag as we know overrides those. We don't need the f...

Monday, February 3rd 2020, 4:36am

Author: panopan

rounded corner with image background ?

Hello! I know this is a very, very old thread, but hey, this is my question at the moment too, and the solution by nelk would not work since now we're all doing html5 :) Actually, my problem is relatively simpler, I don't need a background image behind the panorama, just a simple color. I gave the canvas containing the panorama a border-radius and it shows, but can't change the color of the layer behind the corners no matter which div element I try to apply background-color to. Klaus, is this po...

Monday, December 23rd 2019, 3:53pm

Author: panopan

Video Hotspot Editor

Hi! This is very useful, but the ath/atv adjustments do not work properly, the hotspot is moving but by miniscule amounts, so one has to hold down the corresponding button for really long times to adjust the position. Can you fix this? Or perhaps share the source, then I'd fix it myself :) Cheers!

Friday, November 22nd 2019, 3:33pm

Author: webseta

capturetouch vs context menu on android

Hi! So I think I've found a bug - or perhaps it's my mistake. I'm using capturetouch: true in the embed parameters because we have html plugins we need to be able to scroll. This however prevents us from accessing the context-menu with a long tap, on Chrome/Android anyway. Seems to be working fine on iOS. Is this a bug, or am I doing something wrong?

Monday, October 21st 2019, 2:53pm

Author: webseta

interactivecontent bug?

Selectable did it, thanks. Didn't realize that one had to be set aswell :)

Monday, October 21st 2019, 5:40am

Author: webseta

interactivecontent bug?

Hi! So I'm creating a couple of textfield plugins, and even though the interactivecontent is set to true, they are still not selectable. These are the exact attributes used when creating them: Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 type: 'text', keep: true, handcursor: false, align: 'center', width: 50, height: 50, bgcolor: 0, bgalpha: 0.5, bgroundedge: 50, vcenter: true, css: 'color:white;font-size:15px;font-weight:bold;text-align:center', html: '0', interactivecontent: true What am I missin...

Monday, October 7th 2019, 2:52pm

Author: webseta

Is it possible to define "inline" js plugins?

Holy moly! That's right, if included like that in the xml, it works here too. But not if it's created through js code. So now we have narrowed the issue down :) Thanks! Btw to answer some of your concerns, yeah, we've been using js-based hotspots for years :) Not sure if it's intended or recommended, but the method works just fine.

Monday, October 7th 2019, 12:25am

Author: webseta

Is it possible to define "inline" js plugins?

Yeah, that setting is there. But like I said, the funny thing is that the same code displays the hotspots one time and doesn't display them the other, depending on how the .url property is set up. But if there are trace/console.log statements inside the hotspots, they always run, just no visuals with the base64 encoded version.This is the "full" code, first the one that creates the hotspot: Source code 1 2 3 4 const hotspot = krpano.addhotspot(element.name); hotspot.url = "/js/hotspot.js"; //hot...

Saturday, October 5th 2019, 1:05am

Author: webseta

Is it possible to define "inline" js plugins?

It's ok, I appreciate you trying to help But yeah, let's wait if Klaus has some more insight.

Friday, October 4th 2019, 10:43pm

Author: webseta

Is it possible to define "inline" js plugins?

Again, please read what I wrote. The same, exact code works if I do it like this: Source code 1 hotspot.url = "hotspot.js" and doesn't, if I Base64 encode the contents of the file hotspot.js, and put it there like this: Source code 1 hotspot.url = "data:text/plain;base64,ZnVuY3Rpb24ga3JwYW5vcGx1Z2luICgpIHsKICAgIHZhciBsb2..........." jQuery is loaded, if it wasn't, there would be an error saying it is undefined.

Friday, October 4th 2019, 4:48pm

Author: webseta

Is it possible to define "inline" js plugins?

No, you misunderstand. I just posted a single line from the plugin's code, there's of course more. Like I said, if the same code is put in a separate js, the red circle appears. If the contents of that js file is included the way Klaus has shown, the code still seems to be interpreted and running, but no visuals.

Friday, October 4th 2019, 4:17pm

Author: webseta

Is it possible to define "inline" js plugins?

Hmm, I just tried that, it seems to be working because some trace statements from inside the plugin are noticeable, however nothing appears visually. I have this very simple code inside of the plugin's logic, supposed to display some red circles: Source code 1 $(plugin.sprite).append('<div style="background:red;width:32px;height:32px;border-radius:32px"/>'); The very same code works if it's in a separate .js file, fed through the url attribute the traditional way. Any idea what might be causing ...

Wednesday, October 2nd 2019, 3:56pm

Author: webseta

Is it possible to define "inline" js plugins?

So the usual way is to define a plugin/hotspot element, either in the xml or through javascript code via addhotspot/addlayer/addplugin. In the case of custom developed js plugins we then need to set the hotspot.url / plugin.url to point to the file where the plugins code is written. My question is, would it be somehow possible to load the plugins code as a direct reference? Since js plugins begin like this: Source code 1 function krpanoPlugin() {} I tried to include it in the same js file and si...

Wednesday, October 2nd 2019, 3:52pm

Author: webseta

Is it possible to access custom xml node content?

No, my interest was specifically in accessing content, because some type of data is better stored as node content, and not attributes. But I can use <data> nodes for that, it would have been ideal if it could have been done with custom nodes too, but alas, it can't.