Created
April 21, 2016 18:52
-
-
Save kaosbeat/f3ba32ed7892a599cdbcd68ab7bf1d79 to your computer and use it in GitHub Desktop.
photo spehere test file, simplest possible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="stylesheet" href="css/photo-sphere-viewer.min.css"> | |
<style> | |
html, body { | |
width: 100%; | |
height: 100%; | |
overflow: hidden; | |
margin: 0; | |
padding: 0; | |
} | |
#photosphere { | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="photosphere"></div> | |
<script src="lib/js/three.min.js"></script> | |
<script src="lib/js/D.min.js"></script> | |
<script src="lib/js/photo-sphere-viewer.new.js"></script> | |
<script type="text/javascript"> | |
var PSV = new PhotoSphereViewer({ | |
panorama: 'img/PANO_20150902_131442.jpg', | |
container: 'photosphere', | |
loading_img: 'http://photo-sphere-viewer.js.org/assets/photosphere-logo.gif', | |
navbar: 'autorotate zoom download fullscreen', | |
caption: 'Krook interior <b>©</b>', | |
default_fov: 60, | |
}); | |
</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment