![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Pages: 1
APT 1.1 beta 7 using (with KRPANO unlimited domain license / krpano license).
If I use not the default Interface templates, but my own created templates e.g. gk1-navigation-fullscreen-rotation.xml
AND one custom HTML template
than the swfobject folder is not created by APT and opening final html results in error "Flash player 9 needed"
if I use default templates (html and for interface template) all works fine (swfobject folder will be created by APT...)
Liebe gruesse,
Georg
Offline
Hello,
Yes, same problem with customized java template under Mac OS.
JPhD
Offline
this happens to me regardless of what template i use...
but i dont have an krpano license.. maybe thats an issue as well... but thats to be solved today : )
Offline
You have to be sure to create a folder with the same name as your html template in the same directory. If this template includes javascript calls to krpano, make sure to include the swfobject/ folder into the folder you created.
Example:
I made my html template called "myTemplate.html", calling the visit with javascript via "./swfobject/swfkrpano.js", and referencing some "default.css" stylesheet file :
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Virtual Tour generated by Autopano Tour</title>
<link rel="stylesheet" type="text/css" href= "default.css">
</head>
<body>
<h1>$(TITLE)</h1>
<div id="tour">
<noscript>ERROR: no Javascript</noscript>
</div>
<script type="text/javascript" src="./swfobject/swfkrpano.js">
</script>
<script type="text/javascript">
var swf = createswf("$(SWF)", "aptSWFObject", "640", "480");
//swf.addVariable("xml", "pano1.xml"); //uncomment this line to load another xml first
swf.embed("tour");
if ( so.write("tour") )
{ var mousewheelfixes = new SWFkrpanoMouseWheel(so); }
</script>
</body>
</html>In the end I should put into the html template folder:
myTemplate.html
myTemplate/default.css
myTemplate/swfobject/
myTemplate/swfobject/swfkrpano.js
APT will export the content of the myTemplate/ folder at the same place the visit is exported. Replacing the macro $(PROJECTNAME) by the name of the visit, and $(SWF) by the name of the swf file ( $(SWF) = $(PROJECTNAME).swf ).
If this does not solve your problems, repost here and I will check if this is a bug.
Offline
Dear Adrien,
thanks for pointing out the way to go....
I'll check this with my templates today evening and if this is the solution I'll update the templates from wiki...
Georg
Offline
Dear Adrien,
I verified your solution. This works as you described it....
reviewing your Code example I notified you wrote
<link rel="stylesheet" type="text/css" href= "default.css">
<script type="text/javascript" src="./swfobject/swfkrpano.js">
but with "default installation of latest APT beta 1.1.0.beta 7 no *.css file can be found in none of the default template folders
C:\Program Files\Kolor\Autopano Tour\Templates\html\java ... \javaDomainLicence nore in ...\javaWithFullScreen
and under ./swfobject no swfkrpano.js can be found (in none of the default folders. Instead swfobject.js and swfkrpanomousewheel.js can be found.
Georg
Offline
Those files don't appear in the default menu template of APT beta 7 and earlier. Later version will generate standard web pages, include a default css and the latest krpano javascript script.
Still, I was in the hypothetical case of a user using his own "myTemplate" template. In this case nothing prevents him from adding a css and joining both krpano js script into one file (as it is the case in latest versions of krpano).
So my example remains valid, even if it does not correspond to default installation at beta 7 time.
Offline
ok - clear now.
Georg
Offline
Pages: 1
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
