Spaces:
Running
Running
Update index.html
Browse files- index.html +213 -194
index.html
CHANGED
|
@@ -10,12 +10,10 @@
|
|
| 10 |
margin: 0;
|
| 11 |
padding: 0;
|
| 12 |
}
|
| 13 |
-
|
| 14 |
body {
|
| 15 |
background-color: #000000;
|
| 16 |
color: white;
|
| 17 |
}
|
| 18 |
-
|
| 19 |
.gradient-header {
|
| 20 |
background: linear-gradient(90deg,
|
| 21 |
#FF0000, #FF7F00, #FFFF00, #00FF00,
|
|
@@ -32,17 +30,14 @@
|
|
| 32 |
border-radius: 0 0 15px 15px;
|
| 33 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
| 34 |
}
|
| 35 |
-
|
| 36 |
.gradient-header::before {
|
| 37 |
content: '🎞️';
|
| 38 |
margin-right: 10px;
|
| 39 |
}
|
| 40 |
-
|
| 41 |
.gradient-header::after {
|
| 42 |
content: '🎬';
|
| 43 |
margin-left: 10px;
|
| 44 |
}
|
| 45 |
-
|
| 46 |
@keyframes gradient {
|
| 47 |
0% {
|
| 48 |
background-position: 0% 50%;
|
|
@@ -54,24 +49,48 @@
|
|
| 54 |
background-position: 0% 50%;
|
| 55 |
}
|
| 56 |
}
|
| 57 |
-
|
| 58 |
.gradient-header a {
|
| 59 |
color: white;
|
| 60 |
text-decoration: none;
|
| 61 |
transition: all 0.3s ease;
|
| 62 |
}
|
| 63 |
-
|
| 64 |
.gradient-header a:hover {
|
| 65 |
color: #f0f0f0;
|
| 66 |
text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
|
| 67 |
}
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
.container {
|
| 70 |
max-width: 1800px;
|
| 71 |
margin: 0 auto;
|
| 72 |
padding: 20px;
|
| 73 |
}
|
| 74 |
-
|
| 75 |
.selected-content {
|
| 76 |
display: flex;
|
| 77 |
margin-bottom: 30px;
|
|
@@ -83,7 +102,6 @@
|
|
| 83 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
|
| 84 |
position: relative;
|
| 85 |
}
|
| 86 |
-
|
| 87 |
.selected-content::before {
|
| 88 |
content: '🎬';
|
| 89 |
position: absolute;
|
|
@@ -91,7 +109,6 @@
|
|
| 91 |
left: 20px;
|
| 92 |
font-size: 30px;
|
| 93 |
}
|
| 94 |
-
|
| 95 |
.selected-content::after {
|
| 96 |
content: '🎥';
|
| 97 |
position: absolute;
|
|
@@ -99,7 +116,6 @@
|
|
| 99 |
right: 20px;
|
| 100 |
font-size: 30px;
|
| 101 |
}
|
| 102 |
-
|
| 103 |
.selected-thumbnail, .selected-video {
|
| 104 |
flex: 1;
|
| 105 |
background-color: #000;
|
|
@@ -111,19 +127,16 @@
|
|
| 111 |
inset 0 0 20px rgba(0, 0, 0, 0.8);
|
| 112 |
overflow: hidden;
|
| 113 |
}
|
| 114 |
-
|
| 115 |
.selected-thumbnail video {
|
| 116 |
max-width: 100%;
|
| 117 |
max-height: 100%;
|
| 118 |
object-fit: contain;
|
| 119 |
}
|
| 120 |
-
|
| 121 |
.selected-video video {
|
| 122 |
width: 100%;
|
| 123 |
height: 100%;
|
| 124 |
object-fit: contain;
|
| 125 |
}
|
| 126 |
-
|
| 127 |
.gallery {
|
| 128 |
display: grid;
|
| 129 |
grid-template-columns: repeat(8, 1fr);
|
|
@@ -132,7 +145,6 @@
|
|
| 132 |
background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
|
| 133 |
border-radius: 15px;
|
| 134 |
}
|
| 135 |
-
|
| 136 |
.thumbnail {
|
| 137 |
position: relative;
|
| 138 |
padding-top: 56.25%;
|
|
@@ -146,14 +158,12 @@
|
|
| 146 |
0 0 0 1px rgba(255, 255, 255, 0.1);
|
| 147 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 148 |
}
|
| 149 |
-
|
| 150 |
.thumbnail:hover {
|
| 151 |
transform: translateY(-5px) scale(1.02);
|
| 152 |
box-shadow:
|
| 153 |
0 8px 20px rgba(0, 0, 0, 0.8),
|
| 154 |
0 0 0 1px rgba(255, 255, 255, 0.2);
|
| 155 |
}
|
| 156 |
-
|
| 157 |
.thumbnail video {
|
| 158 |
position: absolute;
|
| 159 |
top: 0;
|
|
@@ -163,7 +173,6 @@
|
|
| 163 |
object-fit: cover;
|
| 164 |
transition: transform 0.3s ease;
|
| 165 |
}
|
| 166 |
-
|
| 167 |
.thumbnail:hover video {
|
| 168 |
transform: scale(1.1);
|
| 169 |
}
|
|
@@ -175,6 +184,13 @@
|
|
| 175 |
</div>
|
| 176 |
|
| 177 |
<div class="container">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
<div class="selected-content">
|
| 179 |
<div class="selected-thumbnail">
|
| 180 |
<video id="selected-thumb" playsinline muted>
|
|
@@ -192,207 +208,210 @@
|
|
| 192 |
</div>
|
| 193 |
|
| 194 |
<script>
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
'qqq11.mp4',
|
| 343 |
-
'qqq12.mp4',
|
| 344 |
-
'qqq13.mp4',
|
| 345 |
-
'i4.mp4',
|
| 346 |
-
'z4.mp4',
|
| 347 |
-
'm2.mp4',
|
| 348 |
-
'm3.mp4',
|
| 349 |
-
'z6.mp4',
|
| 350 |
-
'm1.mp4',
|
| 351 |
-
'z8.mp4',
|
| 352 |
-
'm4.mp4',
|
| 353 |
-
'm5.mp4',
|
| 354 |
-
'watermarked_output (9).mp4'
|
| 355 |
-
];
|
| 356 |
-
|
| 357 |
function initializeGallery() {
|
| 358 |
const gallery = document.getElementById('video-gallery');
|
| 359 |
const selectedThumb = document.getElementById('selected-thumb');
|
| 360 |
const selectedVideo = document.getElementById('selected-video');
|
| 361 |
-
|
| 362 |
-
videoFiles.forEach((videoPath) => {
|
| 363 |
const thumbnail = document.createElement('div');
|
| 364 |
thumbnail.className = 'thumbnail';
|
|
|
|
| 365 |
|
| 366 |
const thumbVideo = document.createElement('video');
|
| 367 |
-
thumbVideo.src =
|
| 368 |
thumbVideo.playsinline = true;
|
| 369 |
thumbVideo.muted = true;
|
| 370 |
thumbVideo.preload = 'metadata';
|
| 371 |
-
|
| 372 |
thumbVideo.addEventListener('loadeddata', () => {
|
| 373 |
thumbVideo.currentTime = 0;
|
| 374 |
});
|
| 375 |
-
|
| 376 |
thumbnail.appendChild(thumbVideo);
|
| 377 |
|
| 378 |
thumbnail.addEventListener('click', () => {
|
| 379 |
-
selectedThumb.src =
|
| 380 |
-
selectedVideo.src =
|
| 381 |
selectedThumb.currentTime = 0;
|
| 382 |
selectedVideo.play();
|
| 383 |
});
|
| 384 |
-
|
| 385 |
gallery.appendChild(thumbnail);
|
| 386 |
});
|
| 387 |
-
|
| 388 |
if (videoFiles.length > 0) {
|
| 389 |
-
selectedThumb.src = videoFiles[0];
|
| 390 |
-
selectedVideo.src = videoFiles[0];
|
| 391 |
selectedThumb.currentTime = 0;
|
| 392 |
}
|
|
|
|
|
|
|
| 393 |
}
|
| 394 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 395 |
initializeGallery();
|
| 396 |
</script>
|
| 397 |
</body>
|
| 398 |
-
</html>
|
|
|
|
|
|
| 10 |
margin: 0;
|
| 11 |
padding: 0;
|
| 12 |
}
|
|
|
|
| 13 |
body {
|
| 14 |
background-color: #000000;
|
| 15 |
color: white;
|
| 16 |
}
|
|
|
|
| 17 |
.gradient-header {
|
| 18 |
background: linear-gradient(90deg,
|
| 19 |
#FF0000, #FF7F00, #FFFF00, #00FF00,
|
|
|
|
| 30 |
border-radius: 0 0 15px 15px;
|
| 31 |
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
| 32 |
}
|
|
|
|
| 33 |
.gradient-header::before {
|
| 34 |
content: '🎞️';
|
| 35 |
margin-right: 10px;
|
| 36 |
}
|
|
|
|
| 37 |
.gradient-header::after {
|
| 38 |
content: '🎬';
|
| 39 |
margin-left: 10px;
|
| 40 |
}
|
|
|
|
| 41 |
@keyframes gradient {
|
| 42 |
0% {
|
| 43 |
background-position: 0% 50%;
|
|
|
|
| 49 |
background-position: 0% 50%;
|
| 50 |
}
|
| 51 |
}
|
|
|
|
| 52 |
.gradient-header a {
|
| 53 |
color: white;
|
| 54 |
text-decoration: none;
|
| 55 |
transition: all 0.3s ease;
|
| 56 |
}
|
|
|
|
| 57 |
.gradient-header a:hover {
|
| 58 |
color: #f0f0f0;
|
| 59 |
text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
|
| 60 |
}
|
| 61 |
+
.tab-menu {
|
| 62 |
+
display: flex;
|
| 63 |
+
justify-content: center;
|
| 64 |
+
gap: 20px;
|
| 65 |
+
margin-bottom: 20px;
|
| 66 |
+
padding: 10px;
|
| 67 |
+
background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
|
| 68 |
+
border-radius: 10px;
|
| 69 |
+
}
|
| 70 |
+
.tab-button {
|
| 71 |
+
padding: 10px 30px;
|
| 72 |
+
border: none;
|
| 73 |
+
border-radius: 5px;
|
| 74 |
+
background: #333;
|
| 75 |
+
color: white;
|
| 76 |
+
cursor: pointer;
|
| 77 |
+
transition: all 0.3s ease;
|
| 78 |
+
font-weight: bold;
|
| 79 |
+
text-transform: uppercase;
|
| 80 |
+
}
|
| 81 |
+
.tab-button:hover {
|
| 82 |
+
background: #444;
|
| 83 |
+
transform: translateY(-2px);
|
| 84 |
+
}
|
| 85 |
+
.tab-button.active {
|
| 86 |
+
background: #666;
|
| 87 |
+
box-shadow: 0 0 10px rgba(255,255,255,0.2);
|
| 88 |
+
}
|
| 89 |
.container {
|
| 90 |
max-width: 1800px;
|
| 91 |
margin: 0 auto;
|
| 92 |
padding: 20px;
|
| 93 |
}
|
|
|
|
| 94 |
.selected-content {
|
| 95 |
display: flex;
|
| 96 |
margin-bottom: 30px;
|
|
|
|
| 102 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
|
| 103 |
position: relative;
|
| 104 |
}
|
|
|
|
| 105 |
.selected-content::before {
|
| 106 |
content: '🎬';
|
| 107 |
position: absolute;
|
|
|
|
| 109 |
left: 20px;
|
| 110 |
font-size: 30px;
|
| 111 |
}
|
|
|
|
| 112 |
.selected-content::after {
|
| 113 |
content: '🎥';
|
| 114 |
position: absolute;
|
|
|
|
| 116 |
right: 20px;
|
| 117 |
font-size: 30px;
|
| 118 |
}
|
|
|
|
| 119 |
.selected-thumbnail, .selected-video {
|
| 120 |
flex: 1;
|
| 121 |
background-color: #000;
|
|
|
|
| 127 |
inset 0 0 20px rgba(0, 0, 0, 0.8);
|
| 128 |
overflow: hidden;
|
| 129 |
}
|
|
|
|
| 130 |
.selected-thumbnail video {
|
| 131 |
max-width: 100%;
|
| 132 |
max-height: 100%;
|
| 133 |
object-fit: contain;
|
| 134 |
}
|
|
|
|
| 135 |
.selected-video video {
|
| 136 |
width: 100%;
|
| 137 |
height: 100%;
|
| 138 |
object-fit: contain;
|
| 139 |
}
|
|
|
|
| 140 |
.gallery {
|
| 141 |
display: grid;
|
| 142 |
grid-template-columns: repeat(8, 1fr);
|
|
|
|
| 145 |
background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
|
| 146 |
border-radius: 15px;
|
| 147 |
}
|
|
|
|
| 148 |
.thumbnail {
|
| 149 |
position: relative;
|
| 150 |
padding-top: 56.25%;
|
|
|
|
| 158 |
0 0 0 1px rgba(255, 255, 255, 0.1);
|
| 159 |
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 160 |
}
|
|
|
|
| 161 |
.thumbnail:hover {
|
| 162 |
transform: translateY(-5px) scale(1.02);
|
| 163 |
box-shadow:
|
| 164 |
0 8px 20px rgba(0, 0, 0, 0.8),
|
| 165 |
0 0 0 1px rgba(255, 255, 255, 0.2);
|
| 166 |
}
|
|
|
|
| 167 |
.thumbnail video {
|
| 168 |
position: absolute;
|
| 169 |
top: 0;
|
|
|
|
| 173 |
object-fit: cover;
|
| 174 |
transition: transform 0.3s ease;
|
| 175 |
}
|
|
|
|
| 176 |
.thumbnail:hover video {
|
| 177 |
transform: scale(1.1);
|
| 178 |
}
|
|
|
|
| 184 |
</div>
|
| 185 |
|
| 186 |
<div class="container">
|
| 187 |
+
<div class="tab-menu">
|
| 188 |
+
<button class="tab-button active" data-tab="1">BEST</button>
|
| 189 |
+
<button class="tab-button" data-tab="2">Popularity</button>
|
| 190 |
+
<button class="tab-button" data-tab="3">Hot</button>
|
| 191 |
+
<button class="tab-button" data-tab="4">NEW</button>
|
| 192 |
+
</div>
|
| 193 |
+
|
| 194 |
<div class="selected-content">
|
| 195 |
<div class="selected-thumbnail">
|
| 196 |
<video id="selected-thumb" playsinline muted>
|
|
|
|
| 208 |
</div>
|
| 209 |
|
| 210 |
<script>
|
| 211 |
+
const videoFiles = [
|
| 212 |
+
{ file: 'chicken.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 213 |
+
{ file: 'ddd.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 214 |
+
{ file: 'm6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 215 |
+
{ file: 'i0.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 216 |
+
{ file: 'i1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 217 |
+
{ file: 'OP5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 218 |
+
{ file: 'OP6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 219 |
+
{ file: 'qq13.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 220 |
+
{ file: 'zawq1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 221 |
+
{ file: 'qq14.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 222 |
+
{ file: 'qq12.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 223 |
+
{ file: 'i2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 224 |
+
{ file: 'qqq14.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 225 |
+
{ file: 'BB1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 226 |
+
{ file: 'BB2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 227 |
+
{ file: 'qqq1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 228 |
+
{ file: 'qqq2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 229 |
+
{ file: 'qqqq.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 230 |
+
{ file: 'plane.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 231 |
+
{ file: 'ewq1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 232 |
+
{ file: 'tmpaqldmcah.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 233 |
+
{ file: 'x1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 234 |
+
{ file: 'x2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 235 |
+
{ file: 'x3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 236 |
+
{ file: 'x4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 237 |
+
{ file: 'V1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 238 |
+
{ file: 'V2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 239 |
+
{ file: 'V3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 240 |
+
{ file: 'V4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 241 |
+
{ file: 'qq43.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 242 |
+
{ file: 'qq44.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 243 |
+
{ file: 'qw1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 244 |
+
{ file: 'i5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 245 |
+
{ file: 'i6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 246 |
+
{ file: 'i7.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 247 |
+
{ file: 'i8.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 248 |
+
{ file: 'qqq10.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 249 |
+
{ file: 'i9.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 250 |
+
{ file: '13.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 251 |
+
{ file: 'qq21.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 252 |
+
{ file: 'qq22.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 253 |
+
{ file: 'qq23.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 254 |
+
{ file: 'tmp72ufgzpa.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 255 |
+
{ file: 'tmpeodtm_jl.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 256 |
+
{ file: 'tmpi2bkoc60.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 257 |
+
{ file: 'xz1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 258 |
+
{ file: 'xz2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 259 |
+
{ file: 'xz3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 260 |
+
{ file: 'xz4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 261 |
+
{ file: 'xz5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 262 |
+
{ file: 'xz6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 263 |
+
{ file: 'xz7.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 264 |
+
{ file: 'xz8.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 265 |
+
{ file: 'xz9.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 266 |
+
{ file: 'xz10.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 267 |
+
{ file: 'xz11.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 268 |
+
{ file: 'xz12.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 269 |
+
{ file: 'xz13.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 270 |
+
{ file: 'xz14.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 271 |
+
{ file: 'xz15.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 272 |
+
{ file: 't1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 273 |
+
{ file: 't2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 274 |
+
{ file: 't3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 275 |
+
{ file: 't4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 276 |
+
{ file: 'd1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 277 |
+
{ file: 'd2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 278 |
+
{ file: 'd4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 279 |
+
{ file: 'd5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 280 |
+
{ file: 'd6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 281 |
+
{ file: 'OP1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 282 |
+
{ file: 'OP2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 283 |
+
{ file: 'OP3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 284 |
+
{ file: 'OP4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 285 |
+
{ file: 'tr1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 286 |
+
{ file: 'tr2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 287 |
+
{ file: 'tr3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 288 |
+
{ file: 'tr4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 289 |
+
{ file: 'tr5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 290 |
+
{ file: 'tr6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 291 |
+
{ file: 'tr7.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 292 |
+
{ file: 'tr8.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 293 |
+
{ file: 'tr9.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 294 |
+
{ file: 'z1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 295 |
+
{ file: 'z2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 296 |
+
{ file: 'z3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 297 |
+
{ file: 'aq1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 298 |
+
{ file: 'aq2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 299 |
+
{ file: 'i3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 300 |
+
{ file: 'tmpss5nprt_.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 301 |
+
{ file: 'watermarked_output (10).mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 302 |
+
{ file: 'qq1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 303 |
+
{ file: 'qq2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 304 |
+
{ file: 'qq3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 305 |
+
{ file: 'qq4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 306 |
+
{ file: 'qq41.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 307 |
+
{ file: 'qq42.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 308 |
+
{ file: 'qaw1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 309 |
+
{ file: 'qaw2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 310 |
+
{ file: 'qaw3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 311 |
+
{ file: '11.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 312 |
+
{ file: '12.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 313 |
+
{ file: 'qq11.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 314 |
+
{ file: 'tmp1y2bgrly.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 315 |
+
{ file: 'tmp22o82oge.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 316 |
+
{ file: 'tmp43xj9wgj.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 317 |
+
{ file: 'tmp59a06_s4.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 318 |
+
{ file: 'tmp6tomynny.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 319 |
+
{ file: 'tmp77sxlo_s.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 320 |
+
{ file: 'tmp8tehlk6n.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 321 |
+
{ file: 'tmp95_p0et8.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 322 |
+
{ file: 'tmp9l96xmk5.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 323 |
+
{ file: 'tmpa1kmfjzl.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 324 |
+
{ file: 'tmpf03w8duw.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 325 |
+
{ file: 'tmpga24owoo.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 326 |
+
{ file: 'tmph843b62h.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 327 |
+
{ file: 'tmpi97a5zy8.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 328 |
+
{ file: 'tmpinq30vk2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 329 |
+
{ file: 'tmpnuljiasj.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 330 |
+
{ file: 'tmpqh0z4uts.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 331 |
+
{ file: 'tmps_zu8c60.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 332 |
+
{ file: 'tmpvdq4uchy.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 333 |
+
{ file: 'tmpx2ketgav.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 334 |
+
{ file: 'tmpx75_3o81.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 335 |
+
{ file: 'tmpy2_6d7qo.output.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 336 |
+
{ file: 'qw2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 337 |
+
{ file: 'qw3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 338 |
+
{ file: 'qw4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 339 |
+
{ file: 'qw5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 340 |
+
{ file: 'watermarked_output (4).mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 341 |
+
{ file: 'aq3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 342 |
+
{ file: 'aq4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 343 |
+
{ file: 'aq5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 344 |
+
{ file: 'qqq11.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 345 |
+
{ file: 'qqq12.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 346 |
+
{ file: 'qqq13.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 347 |
+
{ file: 'i4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 348 |
+
{ file: 'z4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 349 |
+
{ file: 'm2.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 350 |
+
{ file: 'm3.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 351 |
+
{ file: 'z6.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 352 |
+
{ file: 'm1.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 353 |
+
{ file: 'z8.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 354 |
+
{ file: 'm4.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 355 |
+
{ file: 'm5.mp4', tab: Math.floor(Math.random() * 4) + 1 },
|
| 356 |
+
{ file: 'watermarked_output (9).mp4', tab: Math.floor(Math.random() * 4) + 1 }
|
| 357 |
+
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 358 |
function initializeGallery() {
|
| 359 |
const gallery = document.getElementById('video-gallery');
|
| 360 |
const selectedThumb = document.getElementById('selected-thumb');
|
| 361 |
const selectedVideo = document.getElementById('selected-video');
|
| 362 |
+
videoFiles.forEach((videoData) => {
|
|
|
|
| 363 |
const thumbnail = document.createElement('div');
|
| 364 |
thumbnail.className = 'thumbnail';
|
| 365 |
+
thumbnail.dataset.tab = videoData.tab;
|
| 366 |
|
| 367 |
const thumbVideo = document.createElement('video');
|
| 368 |
+
thumbVideo.src = videoData.file;
|
| 369 |
thumbVideo.playsinline = true;
|
| 370 |
thumbVideo.muted = true;
|
| 371 |
thumbVideo.preload = 'metadata';
|
| 372 |
+
|
| 373 |
thumbVideo.addEventListener('loadeddata', () => {
|
| 374 |
thumbVideo.currentTime = 0;
|
| 375 |
});
|
|
|
|
| 376 |
thumbnail.appendChild(thumbVideo);
|
| 377 |
|
| 378 |
thumbnail.addEventListener('click', () => {
|
| 379 |
+
selectedThumb.src = videoData.file;
|
| 380 |
+
selectedVideo.src = videoData.file;
|
| 381 |
selectedThumb.currentTime = 0;
|
| 382 |
selectedVideo.play();
|
| 383 |
});
|
|
|
|
| 384 |
gallery.appendChild(thumbnail);
|
| 385 |
});
|
|
|
|
| 386 |
if (videoFiles.length > 0) {
|
| 387 |
+
selectedThumb.src = videoFiles[0].file;
|
| 388 |
+
selectedVideo.src = videoFiles[0].file;
|
| 389 |
selectedThumb.currentTime = 0;
|
| 390 |
}
|
| 391 |
+
// 초기 탭 표시
|
| 392 |
+
showTabContent('1');
|
| 393 |
}
|
| 394 |
+
function showTabContent(tabNumber) {
|
| 395 |
+
const thumbnails = document.querySelectorAll('.thumbnail');
|
| 396 |
+
thumbnails.forEach(thumb => {
|
| 397 |
+
if (thumb.dataset.tab === tabNumber) {
|
| 398 |
+
thumb.style.display = 'block';
|
| 399 |
+
} else {
|
| 400 |
+
thumb.style.display = 'none';
|
| 401 |
+
}
|
| 402 |
+
});
|
| 403 |
+
}
|
| 404 |
+
// 탭 버튼 이벤트 리스너
|
| 405 |
+
document.querySelectorAll('.tab-button').forEach(button => {
|
| 406 |
+
button.addEventListener('click', () => {
|
| 407 |
+
document.querySelectorAll('.tab-button').forEach(btn =>
|
| 408 |
+
btn.classList.remove('active'));
|
| 409 |
+
button.classList.add('active');
|
| 410 |
+
showTabContent(button.dataset.tab);
|
| 411 |
+
});
|
| 412 |
+
});
|
| 413 |
initializeGallery();
|
| 414 |
</script>
|
| 415 |
</body>
|
| 416 |
+
</html>
|
| 417 |
+
|