Hi,
I have notice a difference of result when I encrypt a virtual tour with domain limitation or with XML embeded.
Here is the structure of the file encrypted with domain limitation :
virtual_tour_folder
| HTML_file
| swfkrpano_file
| pano1_folder
| | XML_pano1_file
| | Protected_file
| | tuiles_pano1_folder
| pano2_folder
| | XML_pano2_file
| | tuiles_pano2_folder
| pano3_folder
| | XML_pano3_file
| | tuiles_pano3_folder
| img
| plugins
I wish to maintain the same structure for the " embeded " solution, but I do not arrive.
When I click the Protected file the pano opens normally. When I click the HTML file, the first panorama opens only a preview and shows the error that the image files can not be found.
Here is my HTML 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
24
25
26
27
28
29
30
|
<html>
<head>
<title>Cashmere</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<style>
html { height:100%; }
body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#FFFFFF; background-color:#000000; }
a{ color:#AAAAAA; text-decoration:underline; }
a:hover{ color:#FFFFFF; text-decoration:underline; }
</style>
</head>
<body>
<div id="krpanoDIV">
<noscript><table width="100%" height="100%"><tr valign="middle"><td><center>ERROR:<br><br>Javascript not activated<br><br></center></td></tr></table></noscript>
</div>
<script type="text/javascript" src="swfkrpano.js"></script>
<script type="text/javascript">
var swf = createswf("pano1/Cashmere.swf");
swf.addVariable("xml","pano1/pano1.xml");
swf.embed("krpanoDIV");
</script>
</body>
</html>
|
May you find the error?
The embedded (and encrypted) solution works if the HTML and swfkrpano files are inside the folder of the first panorama, like in this graphic:
virtual_tour_folder
| pano1_folder
| | HTML_file
| | swfkrpano_file
| | XML_pano1_file
| | Protected_file
| | tuiles_pano1_folder
| pano2_folder
| | XML_pano2_file
| | tuiles_pano2_folder
| pano3_folder
| | XML_pano3_file
| | tuiles_pano3_folder
| img
| plugins
Why? Can you help me? Win XP
Hub