SimplePanoramaViewer/embed/index.html

44 lines
899 B
HTML
Raw Permalink Normal View History

2023-11-06 20:41:19 +00:00
<!DOCTYPE html>
<html lang="en">
2022-09-05 12:16:10 +00:00
<head>
2023-11-06 20:41:19 +00:00
<meta charset="utf-8">
2022-09-05 12:16:10 +00:00
<title>Panorama viewer</title>
2023-11-06 20:41:19 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2022-09-05 12:16:10 +00:00
2023-11-06 20:41:19 +00:00
<link rel="stylesheet" href="css/photo-sphere-viewer.min.css">
2022-09-05 12:16:10 +00:00
<style>
html, body {
width: 100%; height: 100%; overflow: hidden; margin: 0; padding:
0;
}
#photosphere {
width: 100%;
height: 100%;
}
</style>
2023-12-14 13:51:53 +00:00
</head>
<!-- the viewer container must have a defined size -->
<div id="photosphere" style="width: 100vw; height: 100vh;"></div>
2022-09-05 12:16:10 +00:00
2023-11-06 20:41:19 +00:00
<script src="js/three.min.js"></script>
2023-12-14 13:51:53 +00:00
<script src="js/photo-sphere-viewer-core.min.js"></script>
2022-09-05 12:16:10 +00:00
<script>
var PSV = new PhotoSphereViewer.Viewer({
container: 'photosphere',
2023-11-05 19:57:38 +00:00
panorama: 'img',
2023-12-14 13:51:53 +00:00
caption: 'Panorama displayed with Photo Sphere Viewer V5.5.0',
2022-09-05 12:16:10 +00:00
defaultZoomLvl: 40,
minFov: 5,
maxFov: 75,
navbar: [
'zoom',
'caption'
]
});
</script>
</html>