-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathembed.html
70 lines (65 loc) · 1.99 KB
/
embed.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google" value="notranslate">
<link rel="shortcut icon" href="https://www.nuitducode.net/img/favicon.svg">
<title>NDC Lecteur Scratch</title>
<style>
.splash-screen {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #ff4c4c;
color: white;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.splash-screen[hidden] {
display: none;
}
.splash-spinner:after {
content: " ";
display: block;
width: 64px;
height: 64px;
border-radius: 50%;
border: 6px solid;
border-color: white transparent white transparent;
animation: splash-spinner 1.2s linear infinite;
}
@keyframes splash-spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<noscript>
<div class="splash-screen">
<h1>This embed requires JavaScript</h1>
</div>
</noscript>
<div class="splash-screen" hidden id="splash-need-js">
<div class="splash-spinner"></div>
</div>
<script>
(function() {
'use strict';
var splash = document.getElementById('splash-need-js');
splash.hidden = false;
window.SplashEnd = () => {
splash.hidden = true;
};
}());
</script>
<div id="app"></div>
<script src="js/vendors~addon-settings~credits~editor~embed~fullscreen~player.js"></script><script src="js/vendors~editor~embed~fullscreen~player.js"></script><script src="js/addon-settings~editor~embed~fullscreen~player.js"></script><script src="js/embed.js"></script></body>
</html>