-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
template.gohtml
40 lines (39 loc) · 961 Bytes
/
template.gohtml
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
<html>
<head>
<script>
{{ .MainScript }}
</script>
<style>
html,
body {
margin: 0;
padding: 0;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
#error {
color: red;
font-weight: bolder;
font-size: 2.5rem;
background-color: white;
padding: 0.5rem;
}
</style>
</head>
<body>
<video id="videoPlayer2" width="100%" height="100%"
style="z-index: 0; position:fixed; right:0; bottom:0; min-width:100%; min-height:100%;">
<source src="" class="mp4Source" type="video/mp4" />
</video>
<video id="videoPlayer1" width="100%" height="100%"
style="z-index: 1; position:fixed; right:0; bottom:0; min-width:100%; min-height:100%;">
<source src="" class="mp4Source" type="video/mp4" />
</video>
<script>
{{ .BodyScript }}
</script>
</body>
</html>