Spaces:
Running
Running
File size: 9,978 Bytes
33170ea 98396d3 d7f8750 98396d3 d7f8750 98396d3 d7f8750 33170ea 98396d3 33170ea 98396d3 33170ea 98396d3 33170ea 98396d3 33170ea 79e8b16 33170ea 98396d3 33170ea d7f8750 33170ea 79e8b16 51e2c73 8e0b6bb efe0d92 71a9280 a77c84f 71a9280 efe0d92 75a8449 a77c84f 71b0135 2c205e3 ec268d1 4ba55e6 a77c84f 514b64f 08e6ecd 4ba55e6 efe0d92 f29e26f efe0d92 8e0b6bb 4dada4d 8e0b6bb 51e2c73 c556405 51e2c73 c7b9160 e31216d c7b9160 8e0b6bb 4dada4d 46d4522 4dada4d 1148de9 f1d5ebe 10d1e7a f1d5ebe c7b9160 f1d5ebe c7b9160 f1d5ebe c7b9160 f1d5ebe dc28b7f f1d5ebe e31216d f29e26f 75a8449 2c205e3 c7b9160 3232669 c7b9160 3232669 c7b9160 d7f8750 79e8b16 33170ea 79e8b16 33170ea |
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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 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 343 344 345 346 |
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video Gallery</title>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #000000;
color: white;
}
.gradient-header {
background: linear-gradient(90deg,
#FF0000, #FF7F00, #FFFF00, #00FF00,
#0000FF, #4B0082, #8B00FF);
padding: 20px;
margin-bottom: 30px;
text-align: center;
color: white;
font-size: 24px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
animation: gradient 15s ease infinite;
background-size: 200% 200%;
border-radius: 0 0 15px 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.gradient-header::before {
content: 'ποΈ';
margin-right: 10px;
}
.gradient-header::after {
content: 'π¬';
margin-left: 10px;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.gradient-header a {
color: white;
text-decoration: none;
transition: all 0.3s ease;
}
.gradient-header a:hover {
color: #f0f0f0;
text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}
.container {
max-width: 1800px;
margin: 0 auto;
padding: 20px;
}
.selected-content {
display: flex;
margin-bottom: 30px;
gap: 20px;
height: 400px;
padding: 20px;
background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
border-radius: 15px;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
position: relative;
}
.selected-content::before {
content: 'π¬';
position: absolute;
top: -15px;
left: 20px;
font-size: 30px;
}
.selected-content::after {
content: 'π₯';
position: absolute;
top: -15px;
right: 20px;
font-size: 30px;
}
.selected-thumbnail, .selected-video {
flex: 1;
background-color: #000;
border: 4px solid #333;
border-radius: 10px;
box-shadow:
0 0 0 2px #1a1a1a,
0 0 10px rgba(255, 255, 255, 0.2),
inset 0 0 20px rgba(0, 0, 0, 0.8);
overflow: hidden;
}
.selected-thumbnail video {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.selected-video video {
width: 100%;
height: 100%;
object-fit: contain;
}
.gallery {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 15px;
padding: 20px;
background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
border-radius: 15px;
}
.thumbnail {
position: relative;
padding-top: 56.25%;
cursor: pointer;
overflow: hidden;
background-color: #000;
border: 3px solid #333;
border-radius: 8px;
box-shadow:
0 5px 15px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.thumbnail:hover {
transform: translateY(-5px) scale(1.02);
box-shadow:
0 8px 20px rgba(0, 0, 0, 0.8),
0 0 0 1px rgba(255, 255, 255, 0.2);
}
.thumbnail video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.thumbnail:hover video {
transform: scale(1.1);
}
</style>
</head>
<body>
<div class="gradient-header">
[Dokdo Theater] Gen: <a href="https://ginigen-Dokdo.hf.space" target="_blank">https://ginigen-Dokdo.hf.space</a>
</div>
<div class="container">
<div class="selected-content">
<div class="selected-thumbnail">
<video id="selected-thumb" playsinline muted>
<source src="" type="video/mp4">
</video>
</div>
<div class="selected-video">
<video id="selected-video" controls>
<source src="" type="video/mp4">
</video>
</div>
</div>
<div class="gallery" id="video-gallery"></div>
</div>
<script>
const videoFiles = [
'ddd.mp4',
'i0.mp4',
'i1.mp4',
'qq13.mp4',
'zawq1.mp4',
'qq14.mp4',
'qq12.mp4',
'i2.mp4',
'qqq14.mp4',
'qqq1.mp4',
'qqq2.mp4',
'qqqq.mp4',
'ewq1.mp4',
'tmpaqldmcah.mp4',
'x1.mp4',
'x2.mp4',
'x3.mp4',
'x4.mp4',
'V1.mp4',
'V2.mp4',
'V3.mp4',
'V4.mp4',
'qq43.mp4',
'qq44.mp4',
'qw1.mp4',
'i5.mp4',
'i6.mp4',
'i7.mp4',
'i8.mp4',
'qqq10.mp4',
'i9.mp4',
'13.mp4',
'qq21.mp4',
'qq22.mp4',
'qq23.mp4',
'tmp72ufgzpa.mp4',
'tmpeodtm_jl.output.mp4',
'tmpi2bkoc60.mp4',
'd1.mp4',
'd2.mp4',
'd4.mp4',
'd5.mp4',
'd6.mp4',
'z1.mp4',
'z2.mp4',
'z3.mp4',
'aq1.mp4',
'aq2.mp4',
'i3.mp4',
'tmpss5nprt_.mp4',
'watermarked_output (10).mp4',
'qq1.mp4',
'qq2.mp4',
'qq3.mp4',
'qq4.mp4',
'qq41.mp4',
'qq42.mp4',
'qaw1.mp4',
'qaw2.mp4',
'qaw3.mp4',
'11.mp4',
'12.mp4',
'qq11.mp4',
'tmp1y2bgrly.output.mp4',
'tmp22o82oge.output.mp4',
'tmp43xj9wgj.output.mp4',
'tmp59a06_s4.output.mp4',
'tmp6tomynny.output.mp4',
'tmp77sxlo_s.output.mp4',
'tmp8tehlk6n.output.mp4',
'tmp95_p0et8.output.mp4',
'tmp9l96xmk5.output.mp4',
'tmpa1kmfjzl.output.mp4',
'tmpf03w8duw.output.mp4',
'tmpga24owoo.output.mp4',
'tmph843b62h.output.mp4',
'tmpi97a5zy8.mp4',
'tmpinq30vk2.mp4',
'tmpnuljiasj.output.mp4',
'tmpqh0z4uts.output.mp4',
'tmps_zu8c60.output.mp4',
'tmpvdq4uchy.output.mp4',
'tmpx2ketgav.output.mp4',
'tmpx75_3o81.output.mp4',
'tmpy2_6d7qo.output.mp4',
'qw2.mp4',
'qw3.mp4',
'qw4.mp4',
'qw5.mp4',
'watermarked_output (4).mp4',
'aq3.mp4',
'aq4.mp4',
'aq5.mp4',
'qqq11.mp4',
'qqq12.mp4',
'qqq13.mp4',
'i4.mp4',
'z4.mp4',
'm2.mp4',
'm3.mp4',
'z6.mp4',
'm1.mp4',
'z8.mp4',
'watermarked_output (9).mp4'
];
function initializeGallery() {
const gallery = document.getElementById('video-gallery');
const selectedThumb = document.getElementById('selected-thumb');
const selectedVideo = document.getElementById('selected-video');
videoFiles.forEach((videoPath) => {
const thumbnail = document.createElement('div');
thumbnail.className = 'thumbnail';
const thumbVideo = document.createElement('video');
thumbVideo.src = videoPath;
thumbVideo.playsinline = true;
thumbVideo.muted = true;
thumbVideo.preload = 'metadata';
thumbVideo.addEventListener('loadeddata', () => {
thumbVideo.currentTime = 0;
});
thumbnail.appendChild(thumbVideo);
thumbnail.addEventListener('click', () => {
selectedThumb.src = videoPath;
selectedVideo.src = videoPath;
selectedThumb.currentTime = 0;
selectedVideo.play();
});
gallery.appendChild(thumbnail);
});
if (videoFiles.length > 0) {
selectedThumb.src = videoFiles[0];
selectedVideo.src = videoFiles[0];
selectedThumb.currentTime = 0;
}
}
initializeGallery();
</script>
</body>
</html> |