docto41 commited on
Commit
577cbe6
·
verified ·
1 Parent(s): bc14bd9

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +518 -19
  3. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Flix Vision
3
- emoji: 🐢
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: flix-vision
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,518 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FlixVision - Votre divertissement sans limites</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>
10
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #0f0f1a;
15
+ color: white;
16
+ }
17
+
18
+ .hero-gradient {
19
+ background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
20
+ }
21
+
22
+ .movie-card {
23
+ transition: all 0.3s ease;
24
+ transform-origin: center;
25
+ }
26
+
27
+ .movie-card:hover {
28
+ transform: scale(1.05);
29
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
30
+ z-index: 10;
31
+ }
32
+
33
+ .movie-card:hover .play-icon {
34
+ opacity: 1;
35
+ }
36
+
37
+ .play-icon {
38
+ opacity: 0;
39
+ transition: all 0.3s ease;
40
+ }
41
+
42
+ .navbar {
43
+ backdrop-filter: blur(10px);
44
+ background-color: rgba(15, 15, 26, 0.8);
45
+ }
46
+
47
+ .genre-tag {
48
+ transition: all 0.2s ease;
49
+ }
50
+
51
+ .genre-tag:hover {
52
+ background-color: #e50914;
53
+ transform: translateY(-2px);
54
+ }
55
+
56
+ /* Custom scrollbar */
57
+ ::-webkit-scrollbar {
58
+ width: 8px;
59
+ height: 8px;
60
+ }
61
+
62
+ ::-webkit-scrollbar-track {
63
+ background: #1a1a2e;
64
+ }
65
+
66
+ ::-webkit-scrollbar-thumb {
67
+ background: #e50914;
68
+ border-radius: 4px;
69
+ }
70
+
71
+ ::-webkit-scrollbar-thumb:hover {
72
+ background: #b00710;
73
+ }
74
+
75
+ /* Video player styles */
76
+ .video-container {
77
+ position: fixed;
78
+ top: 0;
79
+ left: 0;
80
+ width: 100%;
81
+ height: 100%;
82
+ background-color: rgba(0, 0, 0, 0.9);
83
+ z-index: 1000;
84
+ display: flex;
85
+ justify-content: center;
86
+ align-items: center;
87
+ }
88
+
89
+ .video-player {
90
+ width: 80%;
91
+ max-width: 1200px;
92
+ position: relative;
93
+ }
94
+
95
+ .close-btn {
96
+ position: absolute;
97
+ top: -40px;
98
+ right: 0;
99
+ background: #e50914;
100
+ color: white;
101
+ border: none;
102
+ width: 30px;
103
+ height: 30px;
104
+ border-radius: 50%;
105
+ cursor: pointer;
106
+ font-size: 16px;
107
+ }
108
+ </style>
109
+ </head>
110
+ <body>
111
+ <!-- Navigation Bar -->
112
+ <nav class="navbar fixed top-0 w-full z-50 py-4 px-6 flex justify-between items-center">
113
+ <div class="flex items-center">
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>
131
+ </div>
132
+ </nav>
133
+
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">Votre divertissement <span class="text-red-500">sans limites</span></h1>
138
+ <p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl">Des milliers de films, séries et documentaires à portée de main. Regardez ce que vous voulez, quand vous voulez, sans publicité.</p>
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">Aventure</span>
142
+ <span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">Comédie</span>
143
+ <span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">Drame</span>
144
+ <span class="genre-tag bg-gray-800 text-white px-4 py-2 rounded-full cursor-pointer">Science-fiction</span>
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>
150
+ </section>
151
+
152
+ <!-- Main Content -->
153
+ <main class="px-6 md:px-16 py-12 max-w-7xl mx-auto">
154
+ <!-- Trending Now -->
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
+ TENDANCES ACTUELLES
159
+ </h2>
160
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="trending-movies">
161
+ <!-- Movie cards will be added here by JavaScript -->
162
+ </div>
163
+ </section>
164
+
165
+ <!-- Popular Movies -->
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
+ FILMS POPULAIRES
170
+ </h2>
171
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="popular-movies">
172
+ <!-- Movie cards will be added here by JavaScript -->
173
+ </div>
174
+ </section>
175
+
176
+ <!-- TV Series -->
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
+ SÉRIES TÉLÉVISÉES
181
+ </h2>
182
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="tv-series">
183
+ <!-- Movie cards will be added here by JavaScript -->
184
+ </div>
185
+ </section>
186
+
187
+ <!-- Documentaries -->
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
+ DOCUMENTAIRES
192
+ </h2>
193
+ <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6" id="documentaries">
194
+ <!-- Movie cards will be added here by JavaScript -->
195
+ </div>
196
+ </section>
197
+ </main>
198
+
199
+ <!-- Footer -->
200
+ <footer class="bg-gray-900 py-12 px-6 md:px-16">
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">Votre plateforme de streaming préférée avec des milliers de contenus disponibles sans publicité.</p>
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>
216
+ <h4 class="text-lg font-semibold mb-4">Informations</h4>
217
+ <ul class="space-y-2">
218
+ <li><a href="#" class="text-gray-400 hover:text-white transition">À propos</a></li>
219
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
220
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Politique de confidentialité</a></li>
221
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Conditions d'utilisation</a></li>
222
+ </ul>
223
+ </div>
224
+ <div>
225
+ <h4 class="text-lg font-semibold mb-4">Nous suivre</h4>
226
+ <div class="flex space-x-4">
227
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-white hover:bg-red-500 transition">
228
+ <i class="fab fa-facebook-f"></i>
229
+ </a>
230
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-white hover:bg-red-500 transition">
231
+ <i class="fab fa-twitter"></i>
232
+ </a>
233
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-white hover:bg-red-500 transition">
234
+ <i class="fab fa-instagram"></i>
235
+ </a>
236
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center text-white hover:bg-red-500 transition">
237
+ <i class="fab fa-youtube"></i>
238
+ </a>
239
+ </div>
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>&copy; 2023 FlixVision. Tous droits réservés.</p>
244
+ </div>
245
+ </footer>
246
+
247
+ <!-- Video Player Container (hidden by default) -->
248
+ <div id="video-container" class="video-container hidden">
249
+ <div class="video-player">
250
+ <button id="close-btn" class="close-btn">
251
+ <i class="fas fa-times"></i>
252
+ </button>
253
+ <video id="video-player" controls autoplay class="w-full">
254
+ Votre navigateur ne supporte pas la lecture de vidéos.
255
+ </video>
256
+ </div>
257
+ </div>
258
+
259
+ <script>
260
+ // Sample movie data with real movie posters from TMDB and trailer links
261
+ const movies = [
262
+ {
263
+ title: "John Wick 4",
264
+ poster: "https://image.tmdb.org/t/p/w500/vZloFAK7NmvMGKE7VkF5UHaz0I.jpg",
265
+ year: 2023,
266
+ rating: 8.1,
267
+ category: "trending",
268
+ trailer: "https://www.youtube.com/embed/qEVUtrk8_B4?autoplay=1"
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: "Oppenheimer",
280
+ poster: "https://image.tmdb.org/t/p/w500/8Gxv8gS8UQYivj7OUu5S0QSC0WI.jpg",
281
+ year: 2023,
282
+ rating: 8.5,
283
+ category: "trending",
284
+ trailer: "https://www.youtube.com/embed/uYPbbksJxIg?autoplay=1"
285
+ },
286
+ {
287
+ title: "Barbie",
288
+ poster: "https://image.tmdb.org/t/p/w500/iuFNMS8U5cb6xfzi51Dbkovj7vM.jpg",
289
+ year: 2023,
290
+ rating: 7.2,
291
+ category: "trending",
292
+ trailer: "https://www.youtube.com/embed/pBk4NYhWNMM?autoplay=1"
293
+ },
294
+ {
295
+ title: "Mission: Impossible 7",
296
+ poster: "https://image.tmdb.org/t/p/w500/NNxYkU70HPurnNCSiCjYAmacwm.jpg",
297
+ year: 2023,
298
+ rating: 7.7,
299
+ category: "trending",
300
+ trailer: "https://www.youtube.com/embed/avz06PDqDbM?autoplay=1"
301
+ },
302
+ {
303
+ title: "Les Gardiens de la Galaxie 3",
304
+ poster: "https://image.tmdb.org/t/p/w500/8oYtPHAhQld7kO5zIMaWevfmMq4.jpg",
305
+ year: 2023,
306
+ rating: 8.1,
307
+ category: "movies",
308
+ trailer: "https://www.youtube.com/embed/JqcncLPi9zw?autoplay=1"
309
+ },
310
+ {
311
+ title: "Spider-Man: Across the Spider-Verse",
312
+ poster: "https://image.tmdb.org/t/p/w500/4HodYYKEIsGOdinkGi2Ucz6X9i0.jpg",
313
+ year: 2023,
314
+ rating: 8.6,
315
+ category: "movies",
316
+ trailer: "https://www.youtube.com/embed/cqGjhVJWtEg?autoplay=1"
317
+ },
318
+ {
319
+ title: "The Batman",
320
+ poster: "https://image.tmdb.org/t/p/w500/AfP4fkyL5q9Xm8kujzDfaYf6Jkp.jpg",
321
+ year: 2022,
322
+ rating: 7.7,
323
+ category: "movies",
324
+ trailer: "https://www.youtube.com/embed/mqqft2x_Aa4?autoplay=1"
325
+ },
326
+ {
327
+ title: "Dune",
328
+ poster: "https://image.tmdb.org/t/p/w500/8L7Ld8XxxyxQyOw7QYJPIj4x6bL.jpg",
329
+ year: 2021,
330
+ rating: 7.9,
331
+ category: "movies",
332
+ trailer: "https://www.youtube.com/embed/8g18jFHCLXk?autoplay=1"
333
+ },
334
+ {
335
+ title: "Interstellar",
336
+ poster: "https://image.tmdb.org/t/p/w500/gEU2QniE6E77NI6lCU6MxlNBvIx.jpg",
337
+ year: 2014,
338
+ rating: 8.4,
339
+ category: "movies",
340
+ trailer: "https://www.youtube.com/embed/zSWdZVtXT7E?autoplay=1"
341
+ },
342
+ {
343
+ title: "Stranger Things",
344
+ poster: "https://image.tmdb.org/t/p/w500/49WJfeN0moxb9IPfGn8eoqFUmXM.jpg",
345
+ year: 2022,
346
+ rating: 8.7,
347
+ category: "series",
348
+ trailer: "https://www.youtube.com/embed/b9EkMc79ZSU?autoplay=1"
349
+ },
350
+ {
351
+ title: "The Last of Us",
352
+ poster: "https://image.tmdb.org/t/p/w500/uKvVjHNqB5VmOrdxqAt2F7J78ED.jpg",
353
+ year: 2023,
354
+ rating: 8.8,
355
+ category: "series",
356
+ trailer: "https://www.youtube.com/embed/uLtkt8BonwM?autoplay=1"
357
+ },
358
+ {
359
+ title: "The Mandalorian",
360
+ poster: "https://image.tmdb.org/t/p/w500/eU1i6eHXlzMOlEq0ku1Rzq7Y4wA.jpg",
361
+ year: 2023,
362
+ rating: 8.5,
363
+ category: "series",
364
+ trailer: "https://www.youtube.com/embed/eW7Twd85m2g?autoplay=1"
365
+ },
366
+ {
367
+ title: "House of the Dragon",
368
+ poster: "https://image.tmdb.org/t/p/w500/z2yahl2uefxDCl0nogcRBstwruJ.jpg",
369
+ year: 2022,
370
+ rating: 8.5,
371
+ category: "series",
372
+ trailer: "https://www.youtube.com/embed/DotnJ7tTA34?autoplay=1"
373
+ },
374
+ {
375
+ title: "The Witcher",
376
+ poster: "https://image.tmdb.org/t/p/w500/7vjaCdMw15FEbXyLQTVa04URsPm.jpg",
377
+ year: 2021,
378
+ rating: 8.0,
379
+ category: "series",
380
+ trailer: "https://www.youtube.com/embed/ndl1W4ltcmg?autoplay=1"
381
+ },
382
+ {
383
+ title: "Notre Planète",
384
+ poster: "https://image.tmdb.org/t/p/w500/hW0q5tqQztqj8xPmQK4vqZQEgBx.jpg",
385
+ year: 2019,
386
+ rating: 9.3,
387
+ category: "documentaries",
388
+ trailer: "https://www.youtube.com/embed/aETNYyrqNYE?autoplay=1"
389
+ },
390
+ {
391
+ title: "The Social Dilemma",
392
+ poster: "https://image.tmdb.org/t/p/w500/2QU6fDbXh6g3Tdw6XIB1TKVxqrQ.jpg",
393
+ year: 2020,
394
+ rating: 7.6,
395
+ category: "documentaries",
396
+ trailer: "https://www.youtube.com/embed/uaaC57tcci0?autoplay=1"
397
+ },
398
+ {
399
+ title: "Free Solo",
400
+ poster: "https://image.tmdb.org/t/p/w500/4QVBzI0R2qX5U3qAMV1DXh5xVf0.jpg",
401
+ year: 2018,
402
+ rating: 8.2,
403
+ category: "documentaries",
404
+ trailer: "https://www.youtube.com/embed/urRVZ4SW7WU?autoplay=1"
405
+ },
406
+ {
407
+ title: "My Octopus Teacher",
408
+ poster: "https://image.tmdb.org/t/p/w500/hv7dcqjH40lZQMmqmNsIhkV0VTF.jpg",
409
+ year: 2020,
410
+ rating: 8.1,
411
+ category: "documentaries",
412
+ trailer: "https://www.youtube.com/embed/3s0LTDhqe5A?autoplay=1"
413
+ },
414
+ {
415
+ title: "Seaspiracy",
416
+ poster: "https://image.tmdb.org/t/p/w500/xdmmd437QdjcCls8yCQxrH5YYM.jpg",
417
+ year: 2021,
418
+ rating: 8.2,
419
+ category: "documentaries",
420
+ trailer: "https://www.youtube.com/embed/1Q5CXN7soQg?autoplay=1"
421
+ }
422
+ ];
423
+
424
+ // Function to create movie card
425
+ function createMovieCard(movie) {
426
+ const card = document.createElement('div');
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="w-full h-64 md:h-80 object-cover rounded-lg">
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>
434
+ </div>
435
+ </div>
436
+ </div>
437
+ <div class="mt-3">
438
+ <h3 class="font-semibold truncate">${movie.title}</h3>
439
+ <div class="flex justify-between text-sm text-gray-400 mt-1">
440
+ <span>${movie.year}</span>
441
+ <span class="flex items-center">
442
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
443
+ ${movie.rating}
444
+ </span>
445
+ </div>
446
+ </div>
447
+ `;
448
+
449
+ // Play movie when clicked
450
+ card.addEventListener('click', () => {
451
+ playMovie(movie.trailer, movie.title);
452
+ });
453
+
454
+ return card;
455
+ }
456
+
457
+ // Function to play movie
458
+ function playMovie(trailerUrl, title) {
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.innerHTML = `
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');
471
+
472
+ // Close button event
473
+ closeBtn.addEventListener('click', () => {
474
+ videoContainer.classList.add('hidden');
475
+ videoPlayer.pause();
476
+ });
477
+
478
+ // Play video
479
+ videoPlayer.load();
480
+ videoPlayer.play();
481
+ }
482
+
483
+ // Function to render movies by category
484
+ function renderMovies() {
485
+ const trendingContainer = document.getElementById('trending-movies');
486
+ const popularContainer = document.getElementById('popular-movies');
487
+ const seriesContainer = document.getElementById('tv-series');
488
+ const docsContainer = document.getElementById('documentaries');
489
+
490
+ // Clear containers
491
+ trendingContainer.innerHTML = '';
492
+ popularContainer.innerHTML = '';
493
+ seriesContainer.innerHTML = '';
494
+ docsContainer.innerHTML = '';
495
+
496
+ // Filter and render movies by category
497
+ movies.forEach(movie => {
498
+ const card = createMovieCard(movie);
499
+
500
+ if (movie.category === 'trending') {
501
+ trendingContainer.appendChild(card);
502
+ } else if (movie.category === 'movies') {
503
+ popularContainer.appendChild(card);
504
+ } else if (movie.category === 'series') {
505
+ seriesContainer.appendChild(card);
506
+ } else if (movie.category === 'documentaries') {
507
+ docsContainer.appendChild(card);
508
+ }
509
+ });
510
+ }
511
+
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>
518
+ </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
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