Sie sind nicht angemeldet.

1

Samstag, 6. April 2013, 15:38

krpano protect tool "license error" on html5 protection

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

2

Samstag, 6. April 2013, 15:48

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

3

Sonntag, 7. April 2013, 02:03

hi Klaus,

yes, that's it!
great product, great support.

thank you again!
daniele

4

Dienstag, 28. Mai 2013, 22:18

[1.16.3] same html5 license error here

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:

Quellcode

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


here's the xml-file:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>


(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
----------------------------------
thomas bredenfeld

http://panoramabuch.com
http://bredenfeld.com

5

Mittwoch, 29. Mai 2013, 12:38

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

6

Mittwoch, 29. Mai 2013, 19:40

... maybe it's the subdomain?

hi klaus!

here's the link.
works fine on flash.
(caution: weird scrambled preview cubeface strip :-) )

domain limits are set to bredenfeld.com/net/org/eu/at/ch
(not explicitely to any subdomains or www.)

thanks + best
thomas
----------------------------------
thomas bredenfeld

http://panoramabuch.com
http://bredenfeld.com

7

Donnerstag, 30. Mai 2013, 16:55

explicit subdomain works

update:
added the subdomain used in this example explicitely in kprotect => now it works.
hope this helps to narrow down this error.
----------------------------------
thomas bredenfeld

http://panoramabuch.com
http://bredenfeld.com

8

Samstag, 1. Juni 2013, 06:58

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

Ähnliche Themen