chaowenguo
commited on
Commit
•
f0e8f82
1
Parent(s):
67adde3
Update index.html
Browse files- index.html +5 -1
index.html
CHANGED
@@ -6,12 +6,16 @@
|
|
6 |
<title></title>
|
7 |
</head>
|
8 |
<body>
|
9 |
-
<
|
|
|
|
|
|
|
10 |
<video width='100%' controls controlsList='nodownload' crossorigin='anonymous'>
|
11 |
<source>
|
12 |
<track default>
|
13 |
</video>
|
14 |
<script type='module'>
|
|
|
15 |
for (const episode of globalThis.Array(20).keys())
|
16 |
{
|
17 |
const button = globalThis.document.createElement('button')
|
|
|
6 |
<title></title>
|
7 |
</head>
|
8 |
<body>
|
9 |
+
<div style='display:flex; justify-content:space-around'>
|
10 |
+
<h1></h1>
|
11 |
+
<nav style='display:flex; column-gap:1em'></nav>
|
12 |
+
</div>
|
13 |
<video width='100%' controls controlsList='nodownload' crossorigin='anonymous'>
|
14 |
<source>
|
15 |
<track default>
|
16 |
</video>
|
17 |
<script type='module'>
|
18 |
+
globalThis.document.querySelector('title').textContent = globalThis.document.querySelector('h1').textContent = globalThis.decodeURIComponent(globalThis.location.pathname).slice(1)
|
19 |
for (const episode of globalThis.Array(20).keys())
|
20 |
{
|
21 |
const button = globalThis.document.createElement('button')
|