-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
154 lines (144 loc) · 5.52 KB
/
index2.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<html lang="ja">
<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>
<style>
body {
background-color: aqua
}
.b {
width: 500px;
height: 100px;
font-size: 5em;
}
</style>
<script>
window.addEventListener('load', () => {
const c = document.querySelector(".b")
const a = document.querySelector(".a")
const a2 = document.querySelector(".a2")
const a99 = document.querySelector(".a99")
// a99.addEventListener('loadstart', ad2, false)
c.addEventListener('click', ad, false)
function ad2() {
console.log("loading end!")
};
function ad() {
// a.play();
for (var s = 0; s < 99; s++) {
document.querySelector(".a" + s).play();
// a2.play();
//頭の悪い方法
}
};
});
</script>
</head>
<button class="b">CLICK IT!</button>
<div>
<video class="a0" src="a.mp4"></video>
<video class="a1" src="a.mp4"></video>
<video class="a2" src="a.mp4"></video>
<video class="a3" src="a.mp4"></video>
<video class="a4" src="a.mp4"></video>
<video class="a5" src="a.mp4"></video>
<video class="a6" src="a.mp4"></video>
<video class="a7" src="a.mp4"></video>
<video class="a8" src="a.mp4"></video>
<video class="a9" src="a.mp4"></video>
<video class="a10" src="a.mp4"></video>
<video class="a11" src="a.mp4"></video>
<video class="a12" src="a.mp4"></video>
<video class="a13" src="a.mp4"></video>
<video class="a14" src="a.mp4"></video>
<video class="a15" src="a.mp4"></video>
<video class="a16" src="a.mp4"></video>
<video class="a17" src="a.mp4"></video>
<video class="a18" src="a.mp4"></video>
<video class="a19" src="a.mp4"></video>
<video class="a20" src="a.mp4"></video>
<video class="a21" src="a.mp4"></video>
<video class="a22" src="a.mp4"></video>
<video class="a23" src="a.mp4"></video>
<video class="a24" src="a.mp4"></video>
<video class="a25" src="a.mp4"></video>
<video class="a26" src="a.mp4"></video>
<video class="a27" src="a.mp4"></video>
<video class="a28" src="a.mp4"></video>
<video class="a29" src="a.mp4"></video>
<video class="a30" src="a.mp4"></video>
<video class="a31" src="a.mp4"></video>
<video class="a32" src="a.mp4"></video>
<video class="a33" src="a.mp4"></video>
<video class="a34" src="a.mp4"></video>
<video class="a35" src="a.mp4"></video>
<video class="a36" src="a.mp4"></video>
<video class="a37" src="a.mp4"></video>
<video class="a38" src="a.mp4"></video>
<video class="a39" src="a.mp4"></video>
<video class="a40" src="a.mp4"></video>
<video class="a41" src="a.mp4"></video>
<video class="a42" src="a.mp4"></video>
<video class="a43" src="a.mp4"></video>
<video class="a44" src="a.mp4"></video>
<video class="a45" src="a.mp4"></video>
<video class="a46" src="a.mp4"></video>
<video class="a47" src="a.mp4"></video>
<video class="a48" src="a.mp4"></video>
<video class="a49" src="a.mp4"></video>
<video class="a50" src="a.mp4"></video>
<video class="a51" src="a.mp4"></video>
<video class="a52" src="a.mp4"></video>
<video class="a53" src="a.mp4"></video>
<video class="a54" src="a.mp4"></video>
<video class="a55" src="a.mp4"></video>
<video class="a56" src="a.mp4"></video>
<video class="a57" src="a.mp4"></video>
<video class="a58" src="a.mp4"></video>
<video class="a59" src="a.mp4"></video>
<video class="a60" src="a.mp4"></video>
<video class="a61" src="a.mp4"></video>
<video class="a62" src="a.mp4"></video>
<video class="a63" src="a.mp4"></video>
<video class="a64" src="a.mp4"></video>
<video class="a65" src="a.mp4"></video>
<video class="a66" src="a.mp4"></video>
<video class="a67" src="a.mp4"></video>
<video class="a68" src="a.mp4"></video>
<video class="a69" src="a.mp4"></video>
<video class="a70" src="a.mp4"></video>
<video class="a71" src="a.mp4"></video>
<video class="a72" src="a.mp4"></video>
<video class="a73" src="a.mp4"></video>
<video class="a74" src="a.mp4"></video>
<video class="a75" src="a.mp4"></video>
<video class="a76" src="a.mp4"></video>
<video class="a77" src="a.mp4"></video>
<video class="a78" src="a.mp4"></video>
<video class="a79" src="a.mp4"></video>
<video class="a80" src="a.mp4"></video>
<video class="a81" src="a.mp4"></video>
<video class="a82" src="a.mp4"></video>
<video class="a83" src="a.mp4"></video>
<video class="a84" src="a.mp4"></video>
<video class="a85" src="a.mp4"></video>
<video class="a86" src="a.mp4"></video>
<video class="a87" src="a.mp4"></video>
<video class="a88" src="a.mp4"></video>
<video class="a89" src="a.mp4"></video>
<video class="a90" src="a.mp4"></video>
<video class="a91" src="a.mp4"></video>
<video class="a92" src="a.mp4"></video>
<video class="a93" src="a.mp4"></video>
<video class="a94" src="a.mp4"></video>
<video class="a95" src="a.mp4"></video>
<video class="a96" src="a.mp4"></video>
<video class="a97" src="a.mp4"></video>
<video class="a98" src="a.mp4"></video>
<video class="a99" src="a.mp4"></video>
</div>
<body>
</body>
</html>