chaowenguo
commited on
Commit
•
21e2553
1
Parent(s):
f7a485e
Update index.html
Browse files- index.html +11 -6
index.html
CHANGED
@@ -5,14 +5,19 @@
|
|
5 |
<title></title>
|
6 |
</head>
|
7 |
<body>
|
8 |
-
|
|
|
9 |
<source>
|
|
|
10 |
</video>
|
11 |
<script type='module'>
|
12 |
-
const
|
13 |
-
|
14 |
-
globalThis.document.
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
</body>
|
18 |
</html>
|
|
|
5 |
<title></title>
|
6 |
</head>
|
7 |
<body>
|
8 |
+
<nav style='display:flex; column-gap:1em'></nav>
|
9 |
+
<video width='100%' controls controlsList='nodownload' crossorigin='anonymous'>
|
10 |
<source>
|
11 |
+
<track default>
|
12 |
</video>
|
13 |
<script type='module'>
|
14 |
+
for (const episode of globalThis.Array(20).keys())
|
15 |
+
{
|
16 |
+
const button = globalThis.document.createElement('button')
|
17 |
+
button.textContent = (episode + 1).toString().padStart(2, 0)
|
18 |
+
globalThis.document.querySelector('nav').appendChild(button)
|
19 |
+
}
|
20 |
+
</script>
|
21 |
+
<script src='index.js' type='module'></script>
|
22 |
</body>
|
23 |
</html>
|