-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (39 loc) · 1000 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<style>
iframe {
width: 300px;
height: 500px;
}
</style>
</head>
<body>
<header><h1>AstrotouR</h1></header>
<nav>
<a href="https://drive.google.com/drive/folders/1yUVMkjAkNRKUpqJbkD_Wsy10EDHPszcH?usp=sharing"><h2>Screenshots</h2></a>
</nav>
<main>
<section id="videos">
<h2>Videos</h2>
</section>
</main>
</body>
<script>
let youtubeVideoIds = [
"hfeFeDqa2cA",
"d8GuodU0KLg",
"-0_R1TlTASg",
"xkvT6Bt53pY",
"yYehqOhVBew",
"R0d4LMIT__8",
"VwVc2MYULHk"
]
let videos = document.getElementById("videos")
for (videoId of youtubeVideoIds) {
let element = document.createElement("iframe")
element.setAttribute("src", "https://www.youtube.com/embed/" + videoId)
videos.appendChild(element)
}
</script>
</html>