Image-stitching and virtual tour solutions My account Updates
It is currently Thu Jul 31, 2014 8:28 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Jun 06, 2010 2:48 am 
Offline
Member
User avatar

Joined: Tue Jun 09, 2009 1:01 pm
Posts: 3313
Location: Salzburg
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

_________________
pages: gigapixel.at - jedermann.at - My Equipment


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 07, 2010 8:11 am 
Offline
Member

Joined: Thu May 20, 2010 7:29 am
Posts: 69
Location: Geneva and Lyon
Hello,

Yes, same problem with customized java template under Mac OS.

JPhD

_________________
Best Regards,
JPhD
Website


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 14, 2010 7:25 am 
Offline
Member

Joined: Mon Jun 14, 2010 6:57 am
Posts: 19
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 : )


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 16, 2010 10:07 am 
Offline
Member

Joined: Fri Jul 03, 2009 9:18 am
Posts: 264
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 :

Code:
<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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 16, 2010 10:31 am 
Offline
Member
User avatar

Joined: Tue Jun 09, 2009 1:01 pm
Posts: 3313
Location: Salzburg
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

_________________
pages: gigapixel.at - jedermann.at - My Equipment


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 16, 2010 10:15 pm 
Offline
Member
User avatar

Joined: Tue Jun 09, 2009 1:01 pm
Posts: 3313
Location: Salzburg
Dear Adrien,

I verified your solution. This works as you described it....

reviewing your Code example I notified you wrote

Code:
<link rel="stylesheet" type="text/css" href= "default.css">

Code:
<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

_________________
pages: gigapixel.at - jedermann.at - My Equipment


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 21, 2010 8:33 am 
Offline
Member

Joined: Fri Jul 03, 2009 9:18 am
Posts: 264
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2010 2:40 pm 
Offline
Member
User avatar

Joined: Tue Jun 09, 2009 1:01 pm
Posts: 3313
Location: Salzburg
ok - clear now.
Georg

_________________
pages: gigapixel.at - jedermann.at - My Equipment


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group