39 lines
765 B
Plaintext
39 lines
765 B
Plaintext
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Tour</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.css"/>
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.js"></script>
|
|
<style>
|
|
#panorama {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="panorama"></div>
|
|
<script>
|
|
pannellum.viewer('panorama', {
|
|
"default": {
|
|
"firstScene": "<firstScene>",
|
|
"author": "Author",
|
|
"sceneFadeDuration": 1000
|
|
},
|
|
|
|
"scenes": {
|
|
<scene>
|
|
}
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|