Skip to content

Instantly share code, notes, and snippets.

@kaosbeat
Created April 21, 2016 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaosbeat/f3ba32ed7892a599cdbcd68ab7bf1d79 to your computer and use it in GitHub Desktop.
Save kaosbeat/f3ba32ed7892a599cdbcd68ab7bf1d79 to your computer and use it in GitHub Desktop.
photo spehere test file, simplest possible
<!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>&copy;</b>',
default_fov: 60,
});
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment