-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.html
58 lines (52 loc) · 1.77 KB
/
launch.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
<!DOCTYPE html>
<html>
<head>
<title>Loading - Embed</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
background: rgb(20, 20, 20);
}
.loading-screen {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: rgb(200, 200, 200);
font-family: 'Inter';
}
#site-iframe {
position: fixed;
top: 0;
left: 0;
border: none;
width: 100%;
height: 100%;
background: #fff;
display: none;
}
</style>
</head>
<body>
<div class="loading-screen">
<p class="info">
Handling your request...
</p>
</div>
<iframe id="site-iframe" src="" style="z-index: 9999;" allow="fullscreen; autoplay; encrypted-media; picture-in-picture; microphone; camera; geolocation; clipboard-write; payment; midi; vr; document-domain; pointer-lock">></iframe>
<script>
var iframe = document.getElementById("site-iframe");
iframe.src = localStorage.getItem("url");
iframe.onload = function() {
iframe.style.display = "block";
document.querySelector(".loading-screen").style.display = "none";
document.title = "Embeddr v1";
};
</script>
</body>
</html>