You are not logged in.

1

Wednesday, December 16th 2015, 8:51pm

Trouble uploading to hosting service?

Hi, I've been beating my head against this for awhile and can't figure out how to get krpano onto my website. I have tried uploading the entire directory of krpano 1.19 to my root directory and then created an index.html file that points my tour but no luck. I am very much a beginner at this so I feel like there is something very obvious I am missing.

My index.html file looks like the following. All I get is a blank white page.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head>
<script src="krpano/viewer/embedpano.js"></script>

<div id="pano" style="width:600px; height:400px;"></div>

<script>
  embedpano({swf:"krpano/viewer/krpano.swf", xml:"krpano/viewer/examples/weworks/panos/weworks/tour.xml", target:"pano"});
</script>


</head>
</html>



My directory structure looks like

www.mywebsite.com/krpano/viewer/examples…eworks/tour.xml

Can someone please help me get this up and running, or perhaps point me to a post where this has been solved already? I've looked, but most of the solutions I have found involve embedding krpano within a wordpress document. I would like just a static page that has the virtual tour on it.

Thank you!