-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpanotest.html
More file actions
43 lines (42 loc) · 1.19 KB
/
panotest.html
File metadata and controls
43 lines (42 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>PanoTest Standalone</title>
<link rel="stylesheet" href="https://unpkg.com/pannellum@2.5.6/build/pannellum.css">
<style>
html, body { margin:0; }
#pano { width:100%; height:70vh; background:#000; }
</style>
</head>
<body>
<div id="pano"></div>
<script src="https://unpkg.com/pannellum@2.5.6/build/pannellum.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(){
pannellum.viewer('pano', {
type: "equirectangular",
panorama: "/assets/IMG_20250904_174621_00_114.jpg",
autoLoad: true,
showZoomCtrl: true,
showFullscreenCtrl: true,
hfov: 100, minHfov: 40, maxHfov: 120
});
});
</script>
<div id="pano2"></div>
<script>
document.addEventListener('DOMContentLoaded', function(){
pannellum.viewer('pano2', {
type: "equirectangular",
panorama: "/assets/2025-08-31-opening-speech.jpg",
autoLoad: true,
showZoomCtrl: true,
showFullscreenCtrl: true,
hfov: 100, minHfov: 40, maxHfov: 120
});
});
</script>
</body>
</html>