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