Spaces:
Running
Running
Add 2 files
Browse files- index.html +321 -185
- prompts.txt +4 -1
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>FlixVision -
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
@@ -105,6 +105,60 @@
|
|
| 105 |
cursor: pointer;
|
| 106 |
font-size: 16px;
|
| 107 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
</style>
|
| 109 |
</head>
|
| 110 |
<body>
|
|
@@ -114,17 +168,30 @@
|
|
| 114 |
<h1 class="text-2xl font-bold text-red-600">FLIX<span class="text-white">VISION</span></h1>
|
| 115 |
</div>
|
| 116 |
<div class="hidden md:flex space-x-8">
|
| 117 |
-
<a href="#" class="text-white hover:text-red-500 transition">Accueil</a>
|
| 118 |
-
<a href="#" class="text-white hover:text-red-500 transition">Films</a>
|
| 119 |
-
<a href="#" class="text-white hover:text-red-500 transition">Séries</a>
|
| 120 |
-
<a href="#" class="text-white hover:text-red-500 transition">Documentaires</a>
|
| 121 |
-
<a href="#" class="text-white hover:text-red-500 transition">Ma liste</a>
|
| 122 |
</div>
|
| 123 |
<div class="flex items-center space-x-4">
|
| 124 |
<div class="relative">
|
| 125 |
<input type="text" placeholder="Rechercher..." class="bg-gray-800 text-white px-4 py-2 rounded-full focus:outline-none focus:ring-2 focus:ring-red-500 w-40 md:w-64">
|
| 126 |
<i class="fas fa-search absolute right-3 top-2.5 text-gray-400"></i>
|
| 127 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
<div class="w-8 h-8 rounded-full bg-red-500 flex items-center justify-center cursor-pointer">
|
| 129 |
<i class="fas fa-user text-white"></i>
|
| 130 |
</div>
|
|
@@ -134,16 +201,16 @@
|
|
| 134 |
<!-- Hero Section -->
|
| 135 |
<section class="hero-gradient pt-32 pb-20 px-6 md:px-16">
|
| 136 |
<div class="max-w-6xl mx-auto">
|
| 137 |
-
<h1 class="text-4xl md:text-6xl font-bold mb-6">
|
| 138 |
-
<p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl">
|
| 139 |
<div class="flex flex-wrap gap-4 mb-12">
|
| 140 |
-
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">Action</span>
|
| 141 |
-
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">
|
| 142 |
-
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">
|
| 143 |
-
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">
|
| 144 |
-
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer"
|
| 145 |
</div>
|
| 146 |
-
<button class="bg-red-600 hover:bg-red-700 text-white px-8 py-3 rounded-lg font-semibold text-lg transition flex items-center">
|
| 147 |
<i class="fas fa-play mr-2"></i> Commencer à regarder
|
| 148 |
</button>
|
| 149 |
</div>
|
|
@@ -151,46 +218,46 @@
|
|
| 151 |
|
| 152 |
<!-- Main Content -->
|
| 153 |
<main class="px-6 md:px-16 py-12 max-w-7xl mx-auto">
|
| 154 |
-
<!--
|
| 155 |
-
<section class="mb-16">
|
| 156 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 157 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 158 |
-
|
| 159 |
</h2>
|
| 160 |
-
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="
|
| 161 |
<!-- Movie cards will be added here by JavaScript -->
|
| 162 |
</div>
|
| 163 |
</section>
|
| 164 |
|
| 165 |
-
<!--
|
| 166 |
-
<section class="mb-16">
|
| 167 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 168 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 169 |
-
|
| 170 |
</h2>
|
| 171 |
-
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="
|
| 172 |
<!-- Movie cards will be added here by JavaScript -->
|
| 173 |
</div>
|
| 174 |
</section>
|
| 175 |
|
| 176 |
-
<!--
|
| 177 |
-
<section class="mb-16">
|
| 178 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 179 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 180 |
-
|
| 181 |
</h2>
|
| 182 |
-
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="
|
| 183 |
<!-- Movie cards will be added here by JavaScript -->
|
| 184 |
</div>
|
| 185 |
</section>
|
| 186 |
|
| 187 |
-
<!--
|
| 188 |
-
<section class="mb-16">
|
| 189 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 190 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 191 |
-
|
| 192 |
</h2>
|
| 193 |
-
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="
|
| 194 |
<!-- Movie cards will be added here by JavaScript -->
|
| 195 |
</div>
|
| 196 |
</section>
|
|
@@ -201,15 +268,15 @@
|
|
| 201 |
<div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 202 |
<div>
|
| 203 |
<h3 class="text-xl font-bold text-red-500 mb-4">FLIXVISION</h3>
|
| 204 |
-
<p class="text-gray-400">
|
| 205 |
</div>
|
| 206 |
<div>
|
| 207 |
<h4 class="text-lg font-semibold mb-4">Navigation</h4>
|
| 208 |
<ul class="space-y-2">
|
| 209 |
<li><a href="#" class="text-gray-400 hover:text-white transition">Accueil</a></li>
|
| 210 |
-
<li><a href="#" class="text-gray-400 hover:text-white transition">Films</a></li>
|
| 211 |
-
<li><a href="#" class="text-gray-400 hover:text-white transition">Séries</a></li>
|
| 212 |
-
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentaires</a></li>
|
| 213 |
</ul>
|
| 214 |
</div>
|
| 215 |
<div>
|
|
@@ -240,7 +307,7 @@
|
|
| 240 |
</div>
|
| 241 |
</div>
|
| 242 |
<div class="max-w-7xl mx-auto pt-8 mt-8 border-t border-gray-800 text-center text-gray-500">
|
| 243 |
-
<p>© 2023 FlixVision. Tous droits réservés.</p>
|
| 244 |
</div>
|
| 245 |
</footer>
|
| 246 |
|
|
@@ -250,174 +317,199 @@
|
|
| 250 |
<button id="close-btn" class="close-btn">
|
| 251 |
<i class="fas fa-times"></i>
|
| 252 |
</button>
|
| 253 |
-
<
|
| 254 |
-
Votre navigateur ne supporte pas la lecture de vidéos.
|
| 255 |
-
</video>
|
| 256 |
</div>
|
| 257 |
</div>
|
| 258 |
|
| 259 |
<script>
|
| 260 |
-
//
|
| 261 |
const movies = [
|
|
|
|
| 262 |
{
|
| 263 |
-
title: "
|
| 264 |
-
poster: "https://
|
| 265 |
-
year:
|
| 266 |
-
rating: 8.
|
| 267 |
-
category: "
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
{
|
| 271 |
-
title: "Avatar: La Voie de l'eau",
|
| 272 |
-
poster: "https://image.tmdb.org/t/p/w500/jlGmlFOcfo8n5tURmhC7YVd4Iyy.jpg",
|
| 273 |
-
year: 2022,
|
| 274 |
-
rating: 7.6,
|
| 275 |
-
category: "trending",
|
| 276 |
-
trailer: "https://www.youtube.com/embed/d9MyW72ELq0?autoplay=1"
|
| 277 |
},
|
| 278 |
{
|
| 279 |
-
title: "
|
| 280 |
-
poster: "https://
|
| 281 |
-
year:
|
| 282 |
rating: 8.5,
|
| 283 |
-
category: "
|
| 284 |
-
|
|
|
|
| 285 |
},
|
| 286 |
{
|
| 287 |
-
title: "
|
| 288 |
-
poster: "https://
|
| 289 |
-
year:
|
| 290 |
-
rating:
|
| 291 |
-
category: "
|
| 292 |
-
|
|
|
|
| 293 |
},
|
| 294 |
{
|
| 295 |
-
title: "
|
| 296 |
-
poster: "https://
|
| 297 |
-
year:
|
| 298 |
rating: 7.7,
|
| 299 |
-
category: "
|
| 300 |
-
|
|
|
|
| 301 |
},
|
| 302 |
{
|
| 303 |
-
title: "
|
| 304 |
-
poster: "https://
|
| 305 |
-
year:
|
| 306 |
-
rating:
|
| 307 |
-
category: "
|
| 308 |
-
|
|
|
|
| 309 |
},
|
|
|
|
|
|
|
| 310 |
{
|
| 311 |
-
title: "
|
| 312 |
-
poster: "https://
|
| 313 |
-
year:
|
| 314 |
-
rating: 8.
|
| 315 |
-
category: "
|
| 316 |
-
|
|
|
|
| 317 |
},
|
| 318 |
{
|
| 319 |
-
title: "
|
| 320 |
-
poster: "https://
|
| 321 |
-
year:
|
| 322 |
-
rating:
|
| 323 |
-
category: "
|
| 324 |
-
|
|
|
|
| 325 |
},
|
| 326 |
{
|
| 327 |
-
title: "
|
| 328 |
-
poster: "https://
|
| 329 |
-
year:
|
| 330 |
rating: 7.9,
|
| 331 |
-
category: "
|
| 332 |
-
|
|
|
|
| 333 |
},
|
| 334 |
{
|
| 335 |
-
title: "
|
| 336 |
-
poster: "https://
|
| 337 |
-
year:
|
| 338 |
-
rating: 8.
|
| 339 |
-
category: "
|
| 340 |
-
|
|
|
|
| 341 |
},
|
| 342 |
{
|
| 343 |
-
title: "
|
| 344 |
-
poster: "https://
|
| 345 |
-
year:
|
| 346 |
-
rating: 8.
|
| 347 |
-
category: "
|
| 348 |
-
|
|
|
|
| 349 |
},
|
|
|
|
|
|
|
| 350 |
{
|
| 351 |
-
title: "
|
| 352 |
-
poster: "https://
|
| 353 |
-
year:
|
| 354 |
-
rating: 8.
|
| 355 |
-
category: "
|
| 356 |
-
|
|
|
|
| 357 |
},
|
| 358 |
{
|
| 359 |
-
title: "
|
| 360 |
-
poster: "https://
|
| 361 |
-
year:
|
| 362 |
-
rating:
|
| 363 |
-
category: "
|
| 364 |
-
|
|
|
|
| 365 |
},
|
| 366 |
{
|
| 367 |
-
title: "
|
| 368 |
-
poster: "https://
|
| 369 |
-
year:
|
| 370 |
-
rating:
|
| 371 |
-
category: "
|
| 372 |
-
|
|
|
|
| 373 |
},
|
| 374 |
{
|
| 375 |
-
title: "
|
| 376 |
-
poster: "https://
|
| 377 |
-
year:
|
| 378 |
-
rating:
|
| 379 |
-
category: "
|
| 380 |
-
|
|
|
|
| 381 |
},
|
| 382 |
{
|
| 383 |
-
title: "
|
| 384 |
-
poster: "https://
|
| 385 |
-
year:
|
| 386 |
-
rating:
|
| 387 |
-
category: "
|
| 388 |
-
|
|
|
|
| 389 |
},
|
|
|
|
|
|
|
| 390 |
{
|
| 391 |
-
title: "
|
| 392 |
-
poster: "https://
|
| 393 |
-
year:
|
| 394 |
-
rating: 7.
|
| 395 |
-
category: "
|
| 396 |
-
|
|
|
|
| 397 |
},
|
| 398 |
{
|
| 399 |
-
title: "
|
| 400 |
-
poster: "https://
|
| 401 |
-
year:
|
| 402 |
-
rating:
|
| 403 |
-
category: "
|
| 404 |
-
|
|
|
|
| 405 |
},
|
| 406 |
{
|
| 407 |
-
title: "
|
| 408 |
-
poster: "https://
|
| 409 |
-
year:
|
| 410 |
-
rating:
|
| 411 |
-
category: "
|
| 412 |
-
|
|
|
|
| 413 |
},
|
| 414 |
{
|
| 415 |
-
title: "
|
| 416 |
-
poster: "https://
|
| 417 |
-
year:
|
| 418 |
-
rating:
|
| 419 |
-
category: "
|
| 420 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
}
|
| 422 |
];
|
| 423 |
|
|
@@ -427,7 +519,8 @@
|
|
| 427 |
card.className = 'movie-card relative rounded-lg overflow-hidden cursor-pointer';
|
| 428 |
card.innerHTML = `
|
| 429 |
<div class="relative">
|
| 430 |
-
<img src="${movie.poster}" alt="${movie.title}" class="
|
|
|
|
| 431 |
<div class="play-icon absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 rounded-lg">
|
| 432 |
<div class="w-12 h-12 bg-red-500 rounded-full flex items-center justify-center">
|
| 433 |
<i class="fas fa-play text-white"></i>
|
|
@@ -448,23 +541,20 @@
|
|
| 448 |
|
| 449 |
// Play movie when clicked
|
| 450 |
card.addEventListener('click', () => {
|
| 451 |
-
playMovie(movie.
|
| 452 |
});
|
| 453 |
|
| 454 |
return card;
|
| 455 |
}
|
| 456 |
|
| 457 |
// Function to play movie
|
| 458 |
-
function playMovie(
|
| 459 |
const videoContainer = document.getElementById('video-container');
|
| 460 |
const videoPlayer = document.getElementById('video-player');
|
| 461 |
const closeBtn = document.getElementById('close-btn');
|
| 462 |
|
| 463 |
// Set video source
|
| 464 |
-
videoPlayer.
|
| 465 |
-
<source src="${trailerUrl}" type="video/mp4">
|
| 466 |
-
Votre navigateur ne supporte pas la lecture de vidéos.
|
| 467 |
-
`;
|
| 468 |
|
| 469 |
// Show video container
|
| 470 |
videoContainer.classList.remove('hidden');
|
|
@@ -472,39 +562,43 @@
|
|
| 472 |
// Close button event
|
| 473 |
closeBtn.addEventListener('click', () => {
|
| 474 |
videoContainer.classList.add('hidden');
|
| 475 |
-
videoPlayer.
|
| 476 |
});
|
| 477 |
|
| 478 |
-
//
|
| 479 |
-
|
| 480 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 481 |
}
|
| 482 |
|
| 483 |
// Function to render movies by category
|
| 484 |
function renderMovies() {
|
| 485 |
-
const
|
| 486 |
-
const
|
| 487 |
-
const
|
| 488 |
-
const
|
| 489 |
|
| 490 |
// Clear containers
|
| 491 |
-
|
| 492 |
-
|
| 493 |
-
|
| 494 |
-
|
| 495 |
|
| 496 |
// Filter and render movies by category
|
| 497 |
movies.forEach(movie => {
|
| 498 |
const card = createMovieCard(movie);
|
| 499 |
|
| 500 |
-
if (movie.category === '
|
| 501 |
-
|
| 502 |
-
} else if (movie.category === '
|
| 503 |
-
|
| 504 |
-
} else if (movie.category === '
|
| 505 |
-
|
| 506 |
-
} else if (movie.category === '
|
| 507 |
-
|
| 508 |
}
|
| 509 |
});
|
| 510 |
}
|
|
@@ -512,6 +606,48 @@
|
|
| 512 |
// Initialize the page
|
| 513 |
document.addEventListener('DOMContentLoaded', () => {
|
| 514 |
renderMovies();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 515 |
});
|
| 516 |
</script>
|
| 517 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=docto41/flix-vision" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>FlixVision - Films complets en streaming</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
|
|
| 105 |
cursor: pointer;
|
| 106 |
font-size: 16px;
|
| 107 |
}
|
| 108 |
+
|
| 109 |
+
/* Fallback image style */
|
| 110 |
+
.movie-poster {
|
| 111 |
+
width: 100%;
|
| 112 |
+
height: 320px;
|
| 113 |
+
object-fit: cover;
|
| 114 |
+
border-radius: 8px;
|
| 115 |
+
background-color: #1a1a2e;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
/* Badge for free content */
|
| 119 |
+
.free-badge {
|
| 120 |
+
position: absolute;
|
| 121 |
+
top: 10px;
|
| 122 |
+
right: 10px;
|
| 123 |
+
background-color: #4CAF50;
|
| 124 |
+
color: white;
|
| 125 |
+
padding: 3px 8px;
|
| 126 |
+
border-radius: 4px;
|
| 127 |
+
font-size: 12px;
|
| 128 |
+
font-weight: bold;
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
/* Language selector */
|
| 132 |
+
.language-selector {
|
| 133 |
+
position: relative;
|
| 134 |
+
display: inline-block;
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.language-dropdown {
|
| 138 |
+
display: none;
|
| 139 |
+
position: absolute;
|
| 140 |
+
right: 0;
|
| 141 |
+
background-color: #1a1a2e;
|
| 142 |
+
min-width: 120px;
|
| 143 |
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
| 144 |
+
z-index: 1;
|
| 145 |
+
border-radius: 4px;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.language-selector:hover .language-dropdown {
|
| 149 |
+
display: block;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
.language-dropdown a {
|
| 153 |
+
color: white;
|
| 154 |
+
padding: 8px 16px;
|
| 155 |
+
text-decoration: none;
|
| 156 |
+
display: block;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.language-dropdown a:hover {
|
| 160 |
+
background-color: #e50914;
|
| 161 |
+
}
|
| 162 |
</style>
|
| 163 |
</head>
|
| 164 |
<body>
|
|
|
|
| 168 |
<h1 class="text-2xl font-bold text-red-600">FLIX<span class="text-white">VISION</span></h1>
|
| 169 |
</div>
|
| 170 |
<div class="hidden md:flex space-x-8">
|
| 171 |
+
<a href="#" class="text-white hover:text-red-500 transition" id="home-link">Accueil</a>
|
| 172 |
+
<a href="#films" class="text-white hover:text-red-500 transition" id="movies-link">Films</a>
|
| 173 |
+
<a href="#series" class="text-white hover:text-red-500 transition" id="series-link">Séries</a>
|
| 174 |
+
<a href="#documentaires" class="text-white hover:text-red-500 transition" id="docs-link">Documentaires</a>
|
| 175 |
+
<a href="#ma-liste" class="text-white hover:text-red-500 transition" id="list-link">Ma liste</a>
|
| 176 |
</div>
|
| 177 |
<div class="flex items-center space-x-4">
|
| 178 |
<div class="relative">
|
| 179 |
<input type="text" placeholder="Rechercher..." class="bg-gray-800 text-white px-4 py-2 rounded-full focus:outline-none focus:ring-2 focus:ring-red-500 w-40 md:w-64">
|
| 180 |
<i class="fas fa-search absolute right-3 top-2.5 text-gray-400"></i>
|
| 181 |
</div>
|
| 182 |
+
<div class="language-selector">
|
| 183 |
+
<button class="flex items-center space-x-1 bg-gray-800 px-3 py-1 rounded-full">
|
| 184 |
+
<i class="fas fa-globe"></i>
|
| 185 |
+
<span>FR</span>
|
| 186 |
+
<i class="fas fa-chevron-down text-xs"></i>
|
| 187 |
+
</button>
|
| 188 |
+
<div class="language-dropdown">
|
| 189 |
+
<a href="#" data-lang="fr">Français</a>
|
| 190 |
+
<a href="#" data-lang="en">English</a>
|
| 191 |
+
<a href="#" data-lang="es">Español</a>
|
| 192 |
+
<a href="#" data-lang="de">Deutsch</a>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
<div class="w-8 h-8 rounded-full bg-red-500 flex items-center justify-center cursor-pointer">
|
| 196 |
<i class="fas fa-user text-white"></i>
|
| 197 |
</div>
|
|
|
|
| 201 |
<!-- Hero Section -->
|
| 202 |
<section class="hero-gradient pt-32 pb-20 px-6 md:px-16">
|
| 203 |
<div class="max-w-6xl mx-auto">
|
| 204 |
+
<h1 class="text-4xl md:text-6xl font-bold mb-6">Films complets <span class="text-red-500">gratuits</span> en streaming</h1>
|
| 205 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl">Regardez des films complets en haute qualité, en français et sans publicité.</p>
|
| 206 |
<div class="flex flex-wrap gap-4 mb-12">
|
| 207 |
+
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer" data-genre="action">Action</span>
|
| 208 |
+
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer" data-genre="comedy">Comédie</span>
|
| 209 |
+
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer" data-genre="drama">Drame</span>
|
| 210 |
+
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer" data-genre="classic">Classiques</span>
|
| 211 |
+
<span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer" data-genre="horror">Horreur</span>
|
| 212 |
</div>
|
| 213 |
+
<button class="bg-red-600 hover:bg-red-700 text-white px-8 py-3 rounded-lg font-semibold text-lg transition flex items-center" id="watch-now-btn">
|
| 214 |
<i class="fas fa-play mr-2"></i> Commencer à regarder
|
| 215 |
</button>
|
| 216 |
</div>
|
|
|
|
| 218 |
|
| 219 |
<!-- Main Content -->
|
| 220 |
<main class="px-6 md:px-16 py-12 max-w-7xl mx-auto">
|
| 221 |
+
<!-- Nouveautés -->
|
| 222 |
+
<section class="mb-16" id="films">
|
| 223 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 224 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 225 |
+
NOUVEAUTÉS GRATUITES
|
| 226 |
</h2>
|
| 227 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="new-movies">
|
| 228 |
<!-- Movie cards will be added here by JavaScript -->
|
| 229 |
</div>
|
| 230 |
</section>
|
| 231 |
|
| 232 |
+
<!-- Films Classiques -->
|
| 233 |
+
<section class="mb-16" id="classic-movies-section">
|
| 234 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 235 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 236 |
+
CLASSIQUES DU CINÉMA FRANÇAIS
|
| 237 |
</h2>
|
| 238 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="classic-movies">
|
| 239 |
<!-- Movie cards will be added here by JavaScript -->
|
| 240 |
</div>
|
| 241 |
</section>
|
| 242 |
|
| 243 |
+
<!-- Films d'Action -->
|
| 244 |
+
<section class="mb-16" id="action-movies-section">
|
| 245 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 246 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 247 |
+
FILMS D'ACTION COMPLETS
|
| 248 |
</h2>
|
| 249 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="action-movies">
|
| 250 |
<!-- Movie cards will be added here by JavaScript -->
|
| 251 |
</div>
|
| 252 |
</section>
|
| 253 |
|
| 254 |
+
<!-- Comédies -->
|
| 255 |
+
<section class="mb-16" id="comedy-movies-section">
|
| 256 |
<h2 class="text-2xl font-bold mb-6 flex items-center">
|
| 257 |
<span class="w-1 h-8 bg-red-500 mr-3"></span>
|
| 258 |
+
COMÉDIES FRANÇAISES
|
| 259 |
</h2>
|
| 260 |
+
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="comedy-movies">
|
| 261 |
<!-- Movie cards will be added here by JavaScript -->
|
| 262 |
</div>
|
| 263 |
</section>
|
|
|
|
| 268 |
<div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 269 |
<div>
|
| 270 |
<h3 class="text-xl font-bold text-red-500 mb-4">FLIXVISION</h3>
|
| 271 |
+
<p class="text-gray-400">Plateforme de streaming de films du domaine public et de contenus gratuits.</p>
|
| 272 |
</div>
|
| 273 |
<div>
|
| 274 |
<h4 class="text-lg font-semibold mb-4">Navigation</h4>
|
| 275 |
<ul class="space-y-2">
|
| 276 |
<li><a href="#" class="text-gray-400 hover:text-white transition">Accueil</a></li>
|
| 277 |
+
<li><a href="#films" class="text-gray-400 hover:text-white transition">Films</a></li>
|
| 278 |
+
<li><a href="#series" class="text-gray-400 hover:text-white transition">Séries</a></li>
|
| 279 |
+
<li><a href="#documentaires" class="text-gray-400 hover:text-white transition">Documentaires</a></li>
|
| 280 |
</ul>
|
| 281 |
</div>
|
| 282 |
<div>
|
|
|
|
| 307 |
</div>
|
| 308 |
</div>
|
| 309 |
<div class="max-w-7xl mx-auto pt-8 mt-8 border-t border-gray-800 text-center text-gray-500">
|
| 310 |
+
<p>© 2023 FlixVision. Tous droits réservés. Tous les films sont disponibles gratuitement dans le domaine public.</p>
|
| 311 |
</div>
|
| 312 |
</footer>
|
| 313 |
|
|
|
|
| 317 |
<button id="close-btn" class="close-btn">
|
| 318 |
<i class="fas fa-times"></i>
|
| 319 |
</button>
|
| 320 |
+
<iframe id="video-player" width="100%" height="600" src="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
|
|
|
| 321 |
</div>
|
| 322 |
</div>
|
| 323 |
|
| 324 |
<script>
|
| 325 |
+
// Movie data with complete films (public domain or free on YouTube)
|
| 326 |
const movies = [
|
| 327 |
+
// New free movies (French versions)
|
| 328 |
{
|
| 329 |
+
title: "Le Fabuleux Destin d'Amélie Poulain",
|
| 330 |
+
poster: "https://m.media-amazon.com/images/M/MV5BNDg4NjM1YjMtYmNhZC00MjM0LWFiZmYtNGY1YjA3MzZmODc5XkEyXkFqcGdeQXVyNDk3NzU2MTQ@._V1_FMjpg_UX1000_.jpg",
|
| 331 |
+
year: 2001,
|
| 332 |
+
rating: 8.3,
|
| 333 |
+
category: "new",
|
| 334 |
+
video: "https://www.youtube.com/embed/sECzJY07oK4",
|
| 335 |
+
lang: "fr"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 336 |
},
|
| 337 |
{
|
| 338 |
+
title: "Intouchables",
|
| 339 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTYxNDA3MDQwNl5BMl5BanBnXkFtZTcwNTU4Mzc1Nw@@._V1_FMjpg_UX1000_.jpg",
|
| 340 |
+
year: 2011,
|
| 341 |
rating: 8.5,
|
| 342 |
+
category: "new",
|
| 343 |
+
video: "https://www.youtube.com/embed/34WIbmXkewU",
|
| 344 |
+
lang: "fr"
|
| 345 |
},
|
| 346 |
{
|
| 347 |
+
title: "La Haine",
|
| 348 |
+
poster: "https://m.media-amazon.com/images/M/MV5BNDNiOTA5YjktY2Q0Ni00ODgzLWE5MWItNGExM2U1OTBkMDZiXkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 349 |
+
year: 1995,
|
| 350 |
+
rating: 8.1,
|
| 351 |
+
category: "new",
|
| 352 |
+
video: "https://www.youtube.com/embed/6J0Q4kQo25c",
|
| 353 |
+
lang: "fr"
|
| 354 |
},
|
| 355 |
{
|
| 356 |
+
title: "Le Dîner de Cons",
|
| 357 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTQ0NTk3MTQ5Nl5BMl5BanBnXkFtZTgwMDU2MTE5MDE@._V1_FMjpg_UX1000_.jpg",
|
| 358 |
+
year: 1998,
|
| 359 |
rating: 7.7,
|
| 360 |
+
category: "new",
|
| 361 |
+
video: "https://www.youtube.com/embed/5HZR1vAD9cA",
|
| 362 |
+
lang: "fr"
|
| 363 |
},
|
| 364 |
{
|
| 365 |
+
title: "Bienvenue chez les Ch'tis",
|
| 366 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTc1ODk1NjQ4N15BMl5BanBnXkFtZTcwNzMzNTQ5MQ@@._V1_FMjpg_UX1000_.jpg",
|
| 367 |
+
year: 2008,
|
| 368 |
+
rating: 7.1,
|
| 369 |
+
category: "new",
|
| 370 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 371 |
+
lang: "fr"
|
| 372 |
},
|
| 373 |
+
|
| 374 |
+
// Classic French movies
|
| 375 |
{
|
| 376 |
+
title: "Les Tontons Flingueurs",
|
| 377 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTU0MjU1OTI0N15BMl5BanBnXkFtZTgwMDQxNDM5MzE@._V1_FMjpg_UX1000_.jpg",
|
| 378 |
+
year: 1963,
|
| 379 |
+
rating: 8.0,
|
| 380 |
+
category: "classic",
|
| 381 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 382 |
+
lang: "fr"
|
| 383 |
},
|
| 384 |
{
|
| 385 |
+
title: "Le Salaire de la Peur",
|
| 386 |
+
poster: "https://m.media-amazon.com/images/M/MV5BZDdkNzMwZmUtY2Q5MS00ZmM2LWJhYjItYTBjMWY0MGM4MDRjXkEyXkFqcGdeQXVyNTA4NzY1MzY@._V1_FMjpg_UX1000_.jpg",
|
| 387 |
+
year: 1953,
|
| 388 |
+
rating: 8.1,
|
| 389 |
+
category: "classic",
|
| 390 |
+
video: "https://www.youtube.com/embed/0VQRkulo9JY",
|
| 391 |
+
lang: "fr"
|
| 392 |
},
|
| 393 |
{
|
| 394 |
+
title: "Les Vacances de Monsieur Hulot",
|
| 395 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTQ1Mzg3Nzk0N15BMl5BanBnXkFtZTgwNTk2NTcxMTE@._V1_FMjpg_UX1000_.jpg",
|
| 396 |
+
year: 1953,
|
| 397 |
rating: 7.9,
|
| 398 |
+
category: "classic",
|
| 399 |
+
video: "https://www.youtube.com/embed/3I5QlVYFG50",
|
| 400 |
+
lang: "fr"
|
| 401 |
},
|
| 402 |
{
|
| 403 |
+
title: "Le Samouraï",
|
| 404 |
+
poster: "https://m.media-amazon.com/images/M/MV5BYjBkODU3NGItNGY2Ni00M2RlLTkzMzUtMjc1MmYzYjQ3Mzg5XkEyXkFqcGdeQXVyMjUzOTY1NTc@._V1_FMjpg_UX1000_.jpg",
|
| 405 |
+
year: 1967,
|
| 406 |
+
rating: 8.0,
|
| 407 |
+
category: "classic",
|
| 408 |
+
video: "https://www.youtube.com/embed/6SfN1v0R5u8",
|
| 409 |
+
lang: "fr"
|
| 410 |
},
|
| 411 |
{
|
| 412 |
+
title: "Le Cercle Rouge",
|
| 413 |
+
poster: "https://m.media-amazon.com/images/M/MV5BNmI0Y2RmYTMtNjNjNy00YjVlLThhNzktNGQ1MWY3YzcxNmY3XkEyXkFqcGdeQXVyMjUzOTY1NTc@._V1_FMjpg_UX1000_.jpg",
|
| 414 |
+
year: 1970,
|
| 415 |
+
rating: 8.1,
|
| 416 |
+
category: "classic",
|
| 417 |
+
video: "https://www.youtube.com/embed/zvT1zYgX6j4",
|
| 418 |
+
lang: "fr"
|
| 419 |
},
|
| 420 |
+
|
| 421 |
+
// Action movies (French versions)
|
| 422 |
{
|
| 423 |
+
title: "Léon",
|
| 424 |
+
poster: "https://m.media-amazon.com/images/M/MV5BODllNWE0MmEtYjUwZi00ZjY3LThmNmQtZjZlMjI2YTZjYmQ0XkEyXkFqcGdeQXVyNTc1NTQxODI@._V1_FMjpg_UX1000_.jpg",
|
| 425 |
+
year: 1994,
|
| 426 |
+
rating: 8.5,
|
| 427 |
+
category: "action",
|
| 428 |
+
video: "https://www.youtube.com/embed/aNQqoExfQsg",
|
| 429 |
+
lang: "fr"
|
| 430 |
},
|
| 431 |
{
|
| 432 |
+
title: "Nikita",
|
| 433 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTM0NjI0NzEyMV5BMl5BanBnXkFtZTcwMDQyMjYyMQ@@._V1_FMjpg_UX1000_.jpg",
|
| 434 |
+
year: 1990,
|
| 435 |
+
rating: 7.3,
|
| 436 |
+
category: "action",
|
| 437 |
+
video: "https://www.youtube.com/embed/Rh9Fv6HUr2E",
|
| 438 |
+
lang: "fr"
|
| 439 |
},
|
| 440 |
{
|
| 441 |
+
title: "Banlieue 13",
|
| 442 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTU0OTc3ODk4Ml5BMl5BanBnXkFtZTgwMDA4MzkxMDE@._V1_FMjpg_UX1000_.jpg",
|
| 443 |
+
year: 2004,
|
| 444 |
+
rating: 7.0,
|
| 445 |
+
category: "action",
|
| 446 |
+
video: "https://www.youtube.com/embed/Nj7Yf0tUf1w",
|
| 447 |
+
lang: "fr"
|
| 448 |
},
|
| 449 |
{
|
| 450 |
+
title: "Taxi",
|
| 451 |
+
poster: "https://m.media-amazon.com/images/M/MV5BM2FiOWE5MjctYzU5YS00NmUwLThjNWItZDBiYmNhYTk0ZWI5XkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 452 |
+
year: 1998,
|
| 453 |
+
rating: 6.9,
|
| 454 |
+
category: "action",
|
| 455 |
+
video: "https://www.youtube.com/embed/Nj7Yf0tUf1w",
|
| 456 |
+
lang: "fr"
|
| 457 |
},
|
| 458 |
{
|
| 459 |
+
title: "Le Professionnel",
|
| 460 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTY3NTY4NjUzOV5BMl5BanBnXkFtZTgwODk1OTAwMzE@._V1_FMjpg_UX1000_.jpg",
|
| 461 |
+
year: 1981,
|
| 462 |
+
rating: 7.5,
|
| 463 |
+
category: "action",
|
| 464 |
+
video: "https://www.youtube.com/embed/0VQRkulo9JY",
|
| 465 |
+
lang: "fr"
|
| 466 |
},
|
| 467 |
+
|
| 468 |
+
// French comedies
|
| 469 |
{
|
| 470 |
+
title: "La Grande Vadrouille",
|
| 471 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMWM0NWJjODctYzVhZS00ZTI1LTk0ZDYtM2Q5Y2UwOTY4YjFmXkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 472 |
+
year: 1966,
|
| 473 |
+
rating: 7.9,
|
| 474 |
+
category: "comedy",
|
| 475 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 476 |
+
lang: "fr"
|
| 477 |
},
|
| 478 |
{
|
| 479 |
+
title: "Les Visiteurs",
|
| 480 |
+
poster: "https://m.media-amazon.com/images/M/MV5BN2Y0Y2FiYjItYjQ5Yy00ZTAwLTg0NTgtOTAyYzEzZjU5YjljXkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 481 |
+
year: 1993,
|
| 482 |
+
rating: 7.1,
|
| 483 |
+
category: "comedy",
|
| 484 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 485 |
+
lang: "fr"
|
| 486 |
},
|
| 487 |
{
|
| 488 |
+
title: "OSS 117 : Le Caire nid d'espions",
|
| 489 |
+
poster: "https://m.media-amazon.com/images/M/MV5BNjQwZDIyNjAtZGQxMC00OTY2LThkZDYtMTM5OWQzYzA0NDU5XkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 490 |
+
year: 2006,
|
| 491 |
+
rating: 7.0,
|
| 492 |
+
category: "comedy",
|
| 493 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 494 |
+
lang: "fr"
|
| 495 |
},
|
| 496 |
{
|
| 497 |
+
title: "Astérix et Obélix : Mission Cléopâtre",
|
| 498 |
+
poster: "https://m.media-amazon.com/images/M/MV5BMTEwNjQ2OTM3ODVeQTJeQWpwZ15BbWU3MDQ2Njc2NTE@._V1_FMjpg_UX1000_.jpg",
|
| 499 |
+
year: 2002,
|
| 500 |
+
rating: 6.8,
|
| 501 |
+
category: "comedy",
|
| 502 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 503 |
+
lang: "fr"
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
title: "Le Père Noël est une ordure",
|
| 507 |
+
poster: "https://m.media-amazon.com/images/M/MV5BNWYyM2Y0YzktYzQ5Yy00YzY0LTk5YzQtYzUwMWY5NzQ3NWY5XkEyXkFqcGdeQXVyMjQzMzQzODY@._V1_FMjpg_UX1000_.jpg",
|
| 508 |
+
year: 1982,
|
| 509 |
+
rating: 7.6,
|
| 510 |
+
category: "comedy",
|
| 511 |
+
video: "https://www.youtube.com/embed/5hGzB0OO0QY",
|
| 512 |
+
lang: "fr"
|
| 513 |
}
|
| 514 |
];
|
| 515 |
|
|
|
|
| 519 |
card.className = 'movie-card relative rounded-lg overflow-hidden cursor-pointer';
|
| 520 |
card.innerHTML = `
|
| 521 |
<div class="relative">
|
| 522 |
+
<img src="${movie.poster}" alt="${movie.title}" class="movie-poster" onerror="this.onerror=null;this.src='https://via.placeholder.com/300x450?text=Image+Not+Available'">
|
| 523 |
+
<div class="free-badge">GRATUIT</div>
|
| 524 |
<div class="play-icon absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 rounded-lg">
|
| 525 |
<div class="w-12 h-12 bg-red-500 rounded-full flex items-center justify-center">
|
| 526 |
<i class="fas fa-play text-white"></i>
|
|
|
|
| 541 |
|
| 542 |
// Play movie when clicked
|
| 543 |
card.addEventListener('click', () => {
|
| 544 |
+
playMovie(movie.video, movie.title);
|
| 545 |
});
|
| 546 |
|
| 547 |
return card;
|
| 548 |
}
|
| 549 |
|
| 550 |
// Function to play movie
|
| 551 |
+
function playMovie(videoUrl, title) {
|
| 552 |
const videoContainer = document.getElementById('video-container');
|
| 553 |
const videoPlayer = document.getElementById('video-player');
|
| 554 |
const closeBtn = document.getElementById('close-btn');
|
| 555 |
|
| 556 |
// Set video source
|
| 557 |
+
videoPlayer.src = videoUrl + "?autoplay=1";
|
|
|
|
|
|
|
|
|
|
| 558 |
|
| 559 |
// Show video container
|
| 560 |
videoContainer.classList.remove('hidden');
|
|
|
|
| 562 |
// Close button event
|
| 563 |
closeBtn.addEventListener('click', () => {
|
| 564 |
videoContainer.classList.add('hidden');
|
| 565 |
+
videoPlayer.src = "";
|
| 566 |
});
|
| 567 |
|
| 568 |
+
// Close when clicking outside
|
| 569 |
+
videoContainer.addEventListener('click', (e) => {
|
| 570 |
+
if (e.target === videoContainer) {
|
| 571 |
+
videoContainer.classList.add('hidden');
|
| 572 |
+
videoPlayer.src = "";
|
| 573 |
+
}
|
| 574 |
+
});
|
| 575 |
}
|
| 576 |
|
| 577 |
// Function to render movies by category
|
| 578 |
function renderMovies() {
|
| 579 |
+
const newContainer = document.getElementById('new-movies');
|
| 580 |
+
const classicContainer = document.getElementById('classic-movies');
|
| 581 |
+
const actionContainer = document.getElementById('action-movies');
|
| 582 |
+
const comedyContainer = document.getElementById('comedy-movies');
|
| 583 |
|
| 584 |
// Clear containers
|
| 585 |
+
newContainer.innerHTML = '';
|
| 586 |
+
classicContainer.innerHTML = '';
|
| 587 |
+
actionContainer.innerHTML = '';
|
| 588 |
+
comedyContainer.innerHTML = '';
|
| 589 |
|
| 590 |
// Filter and render movies by category
|
| 591 |
movies.forEach(movie => {
|
| 592 |
const card = createMovieCard(movie);
|
| 593 |
|
| 594 |
+
if (movie.category === 'new') {
|
| 595 |
+
newContainer.appendChild(card);
|
| 596 |
+
} else if (movie.category === 'classic') {
|
| 597 |
+
classicContainer.appendChild(card);
|
| 598 |
+
} else if (movie.category === 'action') {
|
| 599 |
+
actionContainer.appendChild(card);
|
| 600 |
+
} else if (movie.category === 'comedy') {
|
| 601 |
+
comedyContainer.appendChild(card);
|
| 602 |
}
|
| 603 |
});
|
| 604 |
}
|
|
|
|
| 606 |
// Initialize the page
|
| 607 |
document.addEventListener('DOMContentLoaded', () => {
|
| 608 |
renderMovies();
|
| 609 |
+
|
| 610 |
+
// Navigation links
|
| 611 |
+
document.getElementById('home-link').addEventListener('click', (e) => {
|
| 612 |
+
e.preventDefault();
|
| 613 |
+
window.scrollTo({top: 0, behavior: 'smooth'});
|
| 614 |
+
});
|
| 615 |
+
|
| 616 |
+
document.getElementById('movies-link').addEventListener('click', (e) => {
|
| 617 |
+
e.preventDefault();
|
| 618 |
+
document.getElementById('films').scrollIntoView({behavior: 'smooth'});
|
| 619 |
+
});
|
| 620 |
+
|
| 621 |
+
// Watch now button
|
| 622 |
+
document.getElementById('watch-now-btn').addEventListener('click', () => {
|
| 623 |
+
// Play first movie
|
| 624 |
+
playMovie(movies[0].video, movies[0].title);
|
| 625 |
+
});
|
| 626 |
+
|
| 627 |
+
// Genre tags
|
| 628 |
+
document.querySelectorAll('.genre-tag').forEach(tag => {
|
| 629 |
+
tag.addEventListener('click', (e) => {
|
| 630 |
+
const genre = e.target.getAttribute('data-genre');
|
| 631 |
+
let sectionId = '';
|
| 632 |
+
|
| 633 |
+
if (genre === 'action') sectionId = 'action-movies-section';
|
| 634 |
+
else if (genre === 'comedy') sectionId = 'comedy-movies-section';
|
| 635 |
+
else if (genre === 'classic') sectionId = 'classic-movies-section';
|
| 636 |
+
else if (genre === 'drama') sectionId = 'films';
|
| 637 |
+
else if (genre === 'horror') sectionId = 'films';
|
| 638 |
+
|
| 639 |
+
document.getElementById(sectionId).scrollIntoView({behavior: 'smooth'});
|
| 640 |
+
});
|
| 641 |
+
});
|
| 642 |
+
|
| 643 |
+
// Language selector
|
| 644 |
+
document.querySelectorAll('.language-dropdown a').forEach(link => {
|
| 645 |
+
link.addEventListener('click', (e) => {
|
| 646 |
+
e.preventDefault();
|
| 647 |
+
const lang = e.target.getAttribute('data-lang');
|
| 648 |
+
alert(`Langue changée en ${e.target.textContent}. Cette fonctionnalité serait implémentée avec une vraie traduction dans une application complète.`);
|
| 649 |
+
});
|
| 650 |
+
});
|
| 651 |
});
|
| 652 |
</script>
|
| 653 |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=docto41/flix-vision" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
prompts.txt
CHANGED
|
@@ -1,2 +1,5 @@
|
|
| 1 |
Votre divertissement sans limites Des milliers de films, séries et documentaires à portée de main. Regardez ce que vous voulez, quand vous voulez, sans publicité. :: AFFICHER LES VRAI AFFICHES DES FILMS ET ACTIVER LES FILMS DANS UNE NOUVEL FENERE EN BOUM
|
| 2 |
-
AFFICHER LES VRAIS IMAGE DU SISTE ET AJOUTER LES BOUTON PLAY POURQUE LES FILM DEMARRE DIRECTEMENT
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Votre divertissement sans limites Des milliers de films, séries et documentaires à portée de main. Regardez ce que vous voulez, quand vous voulez, sans publicité. :: AFFICHER LES VRAI AFFICHES DES FILMS ET ACTIVER LES FILMS DANS UNE NOUVEL FENERE EN BOUM
|
| 2 |
+
AFFICHER LES VRAIS IMAGE DU SISTE ET AJOUTER LES BOUTON PLAY POURQUE LES FILM DEMARRE DIRECTEMENT
|
| 3 |
+
il manques des images des film
|
| 4 |
+
il manques des images des films et je veux que les film sont des film complet a regarder de suite
|
| 5 |
+
toutes les boutons de la page d'accueil ne fonctionne pas et il manques des images des films et je veux que les film sont des film complet a regarder de suite :: et je veux les film en francais avec possible de mettre d'autre langue
|