panorama software,virtual tour software
Alternate Text
Joined: 2012-01-10
Send Msg:
Posts: 13
2012-01-10
#1

embed a tour

I have tried to embed the tour in my website by following the instructions on earlier posts and all I get on my page is the Adobe Flash message.  I have downloaded latest flash.  I placed the published files on my server in the public_html folder.  Any help would be appreciated
Alternate Text
Joined: 2002-11-23
Send Msg:
Posts: 5435
2012-01-10
#2

All the files produced by Tourweaver MUST be placed in the same directory/folder as the .html you are embedding the html code into and of course you must copy the embed code in it's entirety and paste this into your own selected .html page without mistakes. 

If you can supply a link to your code I can take a look.

Regards, Smooth [8D]


Alternate Text
Joined: 2012-01-10
Send Msg:
Posts: 13
2012-01-10
#3
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Virtual Tour Created By Easypano</title>
 </head>
 <body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0">
 <script type="text/javascript" src="swfobject.js"></script>
 <div align="center" id="flashcontent" width = "800" height ="600" onmousewheel="return false;">
 To view virtual tour properly, Flash Player 9.0.28 or later version is needed.
 Please download the latest version of <a title="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install it on your computer.
 </div>
 <script type="text/javascript">
 var jsReady = true;
 function isJsReady() {
  return jsReady;
 }
 function pageInit() {
  jsReady = true;
 }
 function thisMovie(movieName) {
  return document.getElementById(movieName);
 }
 function changeSceneOnLoad(){
  var panoid=window.location.search.split("&")[0];
  if(panoid.indexOf("firstscene") != -1)
  {
   panoid = panoid.split("=")[1];
  }
  if(panoid)
  {
   if(thisMovie("sotester").twAPI){
    setTimeout(function(){thisMovie("sotester").twAPI("switchToScene", panoid);},500);
   }else{
    setTimeout(changeSceneOnLoad,1000);
   } 
  }
 }
 </script>
 
 <script type="text/javascript">
 // <![CDATA[
 var so = new SWFObject("twviewer.swf", "sotester", "800", "600", "9.0.0", "#E8E8E8");
 so.addParam("allowNetworking", "all");
 so.addParam("allowScriptAccess", "always");
 so.addParam("allowFullScreen", "true");
 so.addParam("scale", "noscale");
 so.addParam("wmode", "direct");
 //<!-%% Share Mode %%->
 so.addVariable("lwImg", "resources/test");
 so.addVariable("lwBgColor", "255,71,71,71");
 so.addVariable("lwBarBgColor", "255,255,255,255");
 so.addVariable("lwBarColor", "255,0,255,0");
 so.addVariable("lwBarBounds", "160,480,480,8");
 so.addVariable("lwlocation", "0");
 so.addVariable("lwShowLoadingPercent", "true");
 so.addVariable("lwTextColor", "255,0,0,0");
 so.addVariable("iniFile", "config_Test.bin");
 so.addVariable("progressType", "0");
 so.addVariable("swfFile", "");
 so.addVariable("percentType", "0");
 so.addVariable("sizeFile", "filesize.txt");
 so.addVariable("href", location.href);
 so.addVariable("lwbounds", "<!-%% videobounds %%->");
 so.write("flashcontent");
 changeSceneOnLoad();
 // ]]>
 </script>
 </body>
 </html>

Alternate Text
Joined: 2002-11-23
Send Msg:
Posts: 5435
2012-01-10
#4

I need a link to your code (URL web address) to see what you have done to the file structure.

Regards, Smooth [8D]