-
Notifications
You must be signed in to change notification settings - Fork 1
/
Peliculas.html
264 lines (227 loc) · 11.2 KB
/
Peliculas.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/Buscador.css">
<link rel="apple-touch-icon" sizes="180x180" href="icon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icon/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="/node_modules/eins-modal/dist/css/eins-modal.min.css">
<link rel="stylesheet" href="css/estilos.css">
<title>PELICULIX</title>
</head>
<body>
<header>
<div class="contenedor">
<a href="index.html" class="logotipo">PELICULIX</a>
<nav>
<a href="index.html" class="activo">Inicio</a>
<a href="Peliculas.html">Películas</a>
<a href="Series.html">Series</a>
</nav>
<div class="input__container">
<select id="categorias" onchange="redireccionar()">
<option value="" disabled selected>categorias</option>
<option value="AccionP.html">Acción</option>
<option value="TerrorP.html">Terror</option>
<option value="ComediaP.html">Comedia</option>
<option value="Ciencia_FiccionP.html">Ciencia Ficción</option>
<option value="DramaP.html">Drama</option>
<!-- Agrega más opciones de categorías según tus necesidades y asegúrate de que los archivos .html existan en tu proyecto -->
</select>
</div>
<div class="input__container">
<div class="shadow__input"></div>
<button class="input__button__shadow">
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" height="20px" width="20px">
<path d="M4 9a5 5 0 1110 0A5 5 0 014 9zm5-7a7 7 0 104.2 12.6.999.999 0 00.093.107l3 3a1 1 0 001.414-1.414l-3-3a.999.999 0 00-.107-.093A7 7 0 009 2z" fill-rule="evenodd" fill="#17202A"></path>
</svg>
</button>
<input type="text" name="buscador" id="buscador" placeholder="¿Que quieres ver hoy?">
</div>
</div>
</header>
<main>
<div class="pelicula-principal">
<div class="contenedor">
<h3 class="titulo">Venom</h3>
<p class="descripcion">
El periodista Eddie Brock está investigando a Carlton Drake, el célebre fundador de Life Foundation. Brock establece una simbiosis con un ente alienígena que le ofrece superpoderes, pero el ser se apodera de su personalidad y lo vuelve perverso.
</p>
<a href="#" class="play" onclick="toggleVideo();">
<img src="./img/play.png" />Trailer
</a>
<button role="button" class="boton" onclick="openInfoPopup();"><i class="fas fa-info-circle"></i>Más información</button>
</div>
</div>
<section class="trailer">
<video src="./img/VENOM Official Trailer HD_480p.mp4" controls="true"></video>
<img src="./img/close.png" class="close" onclick="toggleVideo();">
</section>
<div class="peliculas-recomendadas contenedor">
<div class="contenedor-titulo-controles">
<h3>TOP 10 Peliculas mas vistas</h3>
<div class="indicadores"></div>
</div>
<div class="contenedor-principal">
<button role="button" id="flecha-izquierda" class="flecha-izquierda"><i class="fas fa-angle-left"></i></button>
<div class="contenedor-carousel">
<div class="carousel">
<div class="pelicula">
<a data-modal-id="pw-ropbodactav2"><img loading="lazy" src="img/caballero oscuro.jpg" alt="primer trailer">
</a>
<p>Batman</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav3"><img loading="lazy" src="img/Paramo.jpeg" alt="primer trailer">
</a>
<p>Paramo</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav4"><img loading="lazy" src="img/Que paso.jpeg" alt="primer trailer">
</a>
<p>Que paso ayer</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav5"><img loading="lazy" src="img/proyecto X.jpeg" alt="">
</a>
<p>proyecto X</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav6"><img loading="lazy" src="img/avatar.jpeg" alt="">
</a>
<p>avatar</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav7"><img loading="lazy" src="img/A DOS METROS DE TI.jpeg" alt="primer trailer">
</a>
<p>A dos metros de ti</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav8"><img loading="lazy" src="img/vida.jpeg" alt="">
</a>
<p>Entre la vida</p>
</div>
<div class="pelicula">
<a data-modal-id="pw-ropbodactav9"><img src="img/Terrifier.jpeg" alt="">
</a>
<p>Terrifier</p>
</div>
</div>
</div>
<button role="button" id="flecha-derecha" class="flecha-derecha"><i class="fas fa-angle-right"></i></button>
</div>
</div>
</main>
<div class="contenedor">
<script src="js/buscador.js"></script>
<script>
function toggleVideo(){
const trailer= document.querySelector(".trailer");
const video = document.querySelector("video");
trailer.classList.toggle("active");
video.currentTime=0;
video.pause();
}
</script>
<script src="https://kit.fontawesome.com/2c36e9b7b1.js" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
<script src="/node_modules/eins-modal/dist/js/eins-modal.min.js"></script>
<script>
function redireccionar() {
var seleccion = document.getElementById("categorias").value;
if (seleccion) {
window.location.href = seleccion; // Redirige a la página de categoría seleccionada
}
}
</script>
<!-- Modal section -->
<div id="myModal" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
EJEMPLO DE PRUEBA
<button class="eins-modal-close-button">OK</button>
</div>
</div>
<!-- Modal section 1-->
<div id="pw-ropbodactav2" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/Qs-NylETt1E?si=OTo6wRqDqomL3h0I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Modal section 2-->
<div id="pw-ropbodactav3" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/VrCzupeWvuY?si=RP018qaxbB1oZlZ-" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Modal section 3-->
<div id="pw-ropbodactav4" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/QqVFXyaRL90?si=-f79Kaowzpo-_ZFe" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Modal section 4-->
<div id="pw-ropbodactav5" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/tUOQHCiHcfU?si=vMZqRlkmbOE9ROvi" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Modal section 5-->
<div id="pw-ropbodactav6" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/u0hxjdWG84k?si=saSTdxahY7xGk9Hn" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Modal section 6-->
<div id="pw-ropbodactav7" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/vWhX8aTj5TI?si=XFocqSzdU-cuVGe1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> </div>
</div>
</div>
<!-- Modal section 7-->
<div id="pw-ropbodactav8" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/gH6J_rvgKf0?si=saflimzWz6lktcwh" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> </div>
</div>
</div>
<!-- Modal section 8-->
<div id="pw-ropbodactav9" class="eins-modal" data-options="openTransition: expandIn;
openDuration: 200;">
<div class="eins-modal-content">
<div class="eins-modal-close"></div>
<div class="eins-modal-preview">
<iframe width="460" height="375" src="https://www.youtube.com/embed/vTutJ2_E1Vo?si=c_E5LYPGW2yKBFLL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> </div>
</div>
</body>
</html>