hi,
I have just tried the new protection tool (the Mac one) on the html5 viewer output file, but that ends in a "license error" when viewing panos in html5 mode. since the flash viewer is working fine, I wonder what is wrong :D
thanks,
daniele
hi,
I have just tried the new protection tool (the Mac one) on the html5 viewer output file, but that ends in a "license error" when viewing panos in html5 mode. since the flash viewer is working fine, I wonder what is wrong :D
thanks,
daniele
Hi,
are you trying the domain limitation?
If yes, there is a known bug with domains that contain 'www.' in their name.
There will be a fixed release in the next days.
Best regards,
Klaus
hi Klaus,
yes, that's it!
great product, great support.
thank you again!
daniele
hi klaus!
i'm just building a new project using the new 1.16.3 version and it's protect tool.
on the flash side everything works well, but on html 5 i get a license error. (html license is present, checked by kprotect and just recently used successfully, but perhaps you can check this...).
maybe i messed up something in the html code (more or less directly from the examples)?
here it is:
<!DOCTYPE html>
<html>
<head>
<title>krpano 1.16 examples</title>
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<style>
@-ms-viewport { width: device-width; }
@media only screen and (min-device-width: 800px) { html { overflow:hidden; } }
html { height:100%; }
body { height:100%; overflow:hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
</style>
</head>
<body>
<script src="krpano.js"></script>
<div id="pano" style="width:100%;height:100%;">
<noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>
<script>
embedpano({swf:"krpano.swf", xml:"krpano.xml", target:"pano", html5:"auto", passQueryParameters:true});
</script>
</div>
</body>
</html>
Display More
here's the xml-file:
<krpano version="1.16">
<!-- 71 -->
<preview type="cubestrip" url="/sites/default/files/panos/71/cubestrip-osburg-cubestrip.jpg" striporder="LFRBUD" details="16" />
<!-- cube faces -->
<image devices='Desktop'>
<left url="/sites/default/files/panos/71/osburg-cube-0.jpg" />
<front url="/sites/default/files/panos/71/osburg-cube-1.jpg" />
<right url="/sites/default/files/panos/71/osburg-cube-2.jpg" />
<back url="/sites/default/files/panos/71/osburg-cube-3.jpg" />
<up url="/sites/default/files/panos/71/osburg-cube-4.jpg" rotate="90" />
<down url="/sites/default/files/panos/71/osburg-cube-5.jpg" rotate="-90" />
</image>
<image devices='Tablet'>
<left url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-0.jpg" />
<front url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-1.jpg" />
<right url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-2.jpg" />
<back url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-3.jpg" />
<up url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-4.jpg" rotate="90" />
<down url="/sites/default/files/styles/cf_1024x1024/public/panos/71/osburg-cube-5.jpg" rotate="-90" />
</image>
<!-- view settings -->
<view hlookat="0" vlookat="0" fovtype="VFOV" fov="70" fovmin="15" fovmax="120" />
</krpano>
Display More
(it's inside a drupal installation, so the image paths)
here i what's in the folder:
xml is working fine with flash.
flash embedding part in krpano.js works.
everything is named krpano.* for testing.
no www in the domain limits.
any clues?
thanks
thomas
Hi,
can you please post a link?
The html or xml files itself are not related to license problems in any way.
There is currently only one known license issue - when the html5 license name contains single-quote-characters, then the license embedding isn't working currently. There will be soon a fixed release for this.
Best regards,
Klaus
hi klaus!
here's the link.
works fine on flash.
(caution: weird scrambled preview cubeface strip )
domain limits are set to http://bredenfeld.com/net/org/eu/at/ch
(not explicitely to any subdomains or www.)
thanks + best
thomas
update:
added the subdomain used in this example explicitely in kprotect => now it works.
hope this helps to narrow down this error.
Hi,
yes - the first subdomain will be not skipped/ignored in the html5 version.
There will be soon a fixed version.
(btw - just as note - your request about more flexible domain limitations will be considered for one of the next releases of course)
Best regards,
Klaus
Don’t have an account yet? Register yourself now and be a part of our community!