panellum_generator/template_panellum.txt

39 lines
765 B
Plaintext
Raw Permalink Normal View History

2023-02-01 11:13:40 +00:00
<!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>