-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (98 loc) · 3.09 KB
/
index.html
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TSFX37GD');</script>
<!-- End Google Tag Manager -->
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="uv.css" />
<script type="text/javascript" src="umd/UV.js"></script>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-TSFX37GD"
height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="uv" class="uv"></div>
<script>
document.addEventListener("DOMContentLoaded", function() {
var urlAdapter = new UV.IIIFURLAdapter(true);
const data = urlAdapter.getInitialData({
embedded: true,
});
uv = UV.init("uv", data);
uv.on("configure", function({ config, cb }) {
cb({
options: {
dropEnabled: false,
footerPanelEnabled: false,
headerPanelEnabled: true,
// leftPanelEnabled: false,
// rightPanelEnabled: false,
limitLocales: false,
overrideFullScreen: false,
pagingEnabled: true,
limitToRange: true,
manifestExclude: true,
},
modules: {
footerPanel: {
options: {
fullscreenEnabled: false,
},
},
headerPanel: {
options: {
localeToggleEnabled: false,
},
},
moreInfoRightPanel: {
options: {
limitToRange: true,
},
},
avCenterPanel: {
options: {
autoAdvanceRanges: false,
limitToRange: true,
enableFastRewind: true,
enableFastForward: true,
},
},
contentLeftPanel: {
options: {
defaultToTreeEnabled: true,
},
},
},
});;
});
var $UV = document.getElementById("uv");
function resize() {
$UV.style.width = window.innerWidth + "px";
$UV.style.height = window.innerHeight + "px";
}
addEventListener("resize", function() {
resize();
});
resize();
});
</script>
</body>
</html>