Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
By testing and loggingI'm sorry to hear this about the LG browser's video mode, but not surprised. How did you determine it?
.
.With multires any sizes should be possible.That browser also crashes on panos with large cubeface sizes, so is really not much use.
Yes.But by using the TV as a 4k 3D monitor, we should still be able to show interlaced stereo from web pages.
I'm experiencing some strange things with this version. Is it possible that because of the changes in encryption this viewer only accepts js/xml files encrypted with this, current version of krpanotools?
Sorry, but for me that sounds more like a server-side problem...The random description is warranted because this error CAN happen with any of 700+ tours we have that leverage the same code-set. And this can happen once and then won’t be experienced again for several days by a user. Or it might happen several times in a row.
According to the error you're setting 'bgborder' from a textfield to 'null' - but that must be from somewhere from a custom JS call or JS code, via the krpano XML APIs it wouldn't be possible to set a real JS-null to it.After upgrading all the plugins to new version I get the following error which prevents anything from loading (Chrome Console Windows 10):
Uncaught TypeError: Cannot read property 'split' of null
...
When looking at the Sources tab in chrome dev tools on a beuatyfied version I get the following:
...
l.registerSetterGetter("bgborder", function(a) {
a = a.split(" ");
...
Another possiblity would be a set(bgborder,get(xxx)) or copy(bgborder,xxx) where xxx is an undefined object.That's just it, there is not a single js code on the whole site which contains "bgborder" at all, only krpano xml files.
Of course - in the next release this case will be captured, it was unfortunately forgotten there, but with a correct xml code the problem wouldn't happen too.you must catch such cases in your getters
They are exactly the same
Zitat
While they're of course similar, they're not exactly the same.
.That means that was intentional and that is not related to the protect tool, that's part of the core structure of the krpano viewer file.
Zitat
My question is: was this an intentional choice, or is this a bug in protect?
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
function createPanoViewer(obj)
{
obj = obj || {};
obj.vars = obj.vars || {};
obj.addVariable = function(a,b){ obj.vars[a]=b; };
obj.addParam = function(a,b){};
obj.passQueryParameters = function(){ obj.passQueryParameters=true; };
obj.useHTML5 = function(h){ obj.html5=h; };
obj.isHTML5possible = function(){ return true; };
obj.isFlashpossible = function(){ return !!(navigator.plugins && navigator.plugins["Shockwave Flash"]); };
obj.isDevice = function(d){ return d.indexOf("iP") >= 0 ? navigator.platform.indexOf("iP") >= 0 : d.indexOf("Android") >= 0 ? navigator.userAgent.indexOf("Android") >= 0 : false; };
obj.embed = function(t){ if(t){ obj.target=t; }; embedpano(obj); };
return obj;
}
|