-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlive 2.html
More file actions
53 lines (51 loc) · 1.48 KB
/
live 2.html
File metadata and controls
53 lines (51 loc) · 1.48 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<style>*{
padding:0;
margin:0;
}
html,body {
overflow: hidden;
}
iframe{
z-index: 20;position: absolute; width: 50%; height: 50%;top:50%;
left:50%;
transform:translate(-50%, -50%);
}
@media screen and (max-width: 980px) {
iframe{
width: 100%;
}
}
canvas{
z-index: -1;
}
#back{
min-height: 100vh;
}</style>
<!-- <iframe width="560" height="315" src="https://www.youtube.com/embed/live_stream?channel=UCNxk4RPg_wm0A_4v3dmji4w&autoplay=1" frameborder="0" allowfullscreen></iframe> -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/YwSjiNcgLX8" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<div id="back"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r119/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@0.5.21/dist/vanta.globe.min.js"></script>
<script>
VANTA.GLOBE({
el: "#back",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 900.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00
})
</script>
</body>
</html>