Solved i finally could get a workaround on krpano!
Beiträge von tidytrax
-
-
Solved i finally could get a workaround on krpano!
-
I still have the same problem 2 year, no solution, can anyone help, since the source code of krpano is crypt.
It's relative to this post https://krpano.com/forum/wbb/inde…&threadID=16717 https://krpano.com/forum/wbb/inde…&threadID=16717
Only works on firefox,
I have teste on Chrome, edge, firefox last version.this is costing me too much because i can use cache on hotspot.
the error stop here e.loader.src=b
off"!=rc&&(e.loader.crossOrigin=rc),e.loader.src=b):(e.loading=!1,ta.reportError(1,e.getfullpath()+" loading error: "+b)))}}}
-
I have also tested on edge only works on firefox
Chrome, edge, firefox last version.this is costing me too much because i can use cache on hotspot.
the error stop here e.loader.src=b
off"!=rc&&(e.loader.crossOrigin=rc),e.loader.src=b):(e.loading=!1,ta.reportError(1,e.getfullpath()+" loading error: "+b)))}}}
-
Hi,
the two requests are because one request is by krpano with CORS-headers to the get the image size (and optionally also the pixels for the WebGL rendering, if that image would be rendered by WebGL) and the second request would be by the browser itself when the image would get rendered by CSS3D. But the browser doesn't send CORS-headers for this case.
That means two requests because once with CORS-headers and once without CORS-headers (only when rendering with CSS3D).
But even due the two requests the browser normally should load the second request from the cache. Only older Safari version were known to be buggy here...
So I would need some help to be able to reproduce that problem:
- Do you have a link to an example where this problem happens?
- What krpano version are you using?
- What Chrome version are you using?Best regards,
KlausHi,
the two requests are because one request is by krpano with CORS-headers to the get the image size (and optionally also the pixels for the WebGL rendering, if that image would be rendered by WebGL) and the second request would be by the browser itself when the image would get rendered by CSS3D. But the browser doesn't send CORS-headers for this case.
That means two requests because once with CORS-headers and once without CORS-headers (only when rendering with CSS3D).
But even due the two requests the browser normally should load the second request from the cache. Only older Safari version were known to be buggy here...
So I would need some help to be able to reproduce that problem:
- Do you have a link to an example where this problem happens?
- What krpano version are you using?
- What Chrome version are you using?Best regards,
KlausSome news on this ? I still got this problem on 1.20.9
and almost 2 years without caching hotspot, low performance to load the hs. -
Hello I think that I may have found a bug,
I have a xml with 10 scenes and 2 arrows, to left and right, so if I use blend to change, in some point the system frozen until I move the screen and then it load the pano and continue the events.Sometimes take a while, changing between scenes.
krpano 1.20.2 (build 2019-10-15)
Image Type : CYLINDER
Browser Chrome
this.getKrPano().call(`loadscene(${scene},null,KEEPPLUGINS,SLIDEBLEND(2,180));`);onxmlcomplete
onnewscene
onnewpano-> ( Last event be called )
-- Frozen untill i move the pano then the event continue and pano show
onpreviewcompleteonloadcomplete
-
Looks like the problem only occur when hotspot is set with distorted
-
Hi I'm using some embed from youtube as css3d hotspot.
On firefox works fine, but on chrome, the hover effect on play button(center play button) is ok, but when i click, the video don't start, if I click a little to the left at the top, the video works, and the same to pause at the bottom.Thanks
-
Hello, I want to go through some coordinates
Example : {[atv,ath,fov], [atv,ath,fov], [atv,ath,fov] ... }And I want the panorama walk through those coordinates
I already did it in Javascript, works, but not so smoth, the movement is terrible
Has some function on krpano to do that.
Zitat
loadInterval = setInterval(() => {tkl.getKrPano().set('view.vlookat',coordinates[currentFrame][0][0])
tkl.getKrPano().set('view.hlookat',coordinates[currentFrame][0][1])
tkl.getKrPano().set('view.fov',coordinates[currentFrame][0][2])if ( currentFrame >= lastFrame ) {
clearInterval(loadInterval);
} else {
currentFrame++;
}
},48); -
-
Can I get the exactly pixel of a cylindrical panorama on the click,
For example i have a 28500 width pixel image, So when i click i want to get the pixel not the mouse position on the screen, if or without a fov.Thanks
-
Hi,
the two requests are because one request is by krpano with CORS-headers to the get the image size (and optionally also the pixels for the WebGL rendering, if that image would be rendered by WebGL) and the second request would be by the browser itself when the image would get rendered by CSS3D. But the browser doesn't send CORS-headers for this case.
That means two requests because once with CORS-headers and once without CORS-headers (only when rendering with CSS3D).
But even due the two requests the browser normally should load the second request from the cache. Only older Safari version were known to be buggy here...
So I would need some help to be able to reproduce that problem:
- Do you have a link to an example where this problem happens?
- What krpano version are you using?
- What Chrome version are you using?Best regards,
KlausHi Klaus, I'm Usign KRpano 119pr16 Chrome Versão 73.0.3683.86.
For now I don't have a online link, but I will do soon and send.
-
Hi, I got a problem, only in chrome and safari,
Firefox and Edge works fine and the problem happens only with hotspot Css3d,
And only some times with random hotspots, can be 2 or 20.As i could saw the hotspot is request twice, once response 200 and in the second get failed and the below error appear in console.
Access to image at '7276d7a055036dc.png' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I could fix using webgl, but gif and other stuff lost animation.
or
ignoring cache with 7276d7a055036dc.png?v=TIMESTAMP(random).
And why request twice? looks like the problem, if i use webgl, request once. -
Thanks Klaus, you have a date for that release ?
Hi,
that warning can be ignored, but in the next release krpano will always use the latest Google-Maps-API-version by default and additionally there will be a parameter for optionally defining a custom API version.
Best regards,
Klaus -
No Awnser ? Is not possible ? it's just a parameter.
thanks
-
Hello, I want to change the google maps api version, but i did' not find how in the Plugins options, it's possible?
Console Message:
Google Maps API warning: RetiredVersion https://developers.google.com/maps/documenta…retired-version
Thanks