-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathembedhub.html
282 lines (239 loc) · 10.6 KB
/
embedhub.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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">
<title>WikiMedia Website - EmbedHub</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.svg" rel="icon">
<link href="assets/img/logo.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="assets/css/fonts.css" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
<script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool@latest'></script>
</head>
<body style="background: #181A20;">
<!-- ======= Header ======= -->
<header id="header-embed" class="fixed-top">
<div class="container d-flex align-items-center justify-content-between">
<!-- Uncomment below if you prefer to use an image logo -->
<a href="index.html" class="logo"><img src="assets/img/logo.svg" alt="" class="img-fluid"></a>
<h1 class="logo">
<a href="index.html">WikiMedia</a></h1>
<nav id="navbar" class="navbar">
<ul>
<li><a class="nav-link scrollto2 active" href="index.html#hero">Home</a></li>
<!-- <li><a class="nav-link scrollto" href="inner-page.html">inner page</a></li>
<li><a class="nav-link scrollto" href="#services">Services</a></li>
<li><a class="nav-link scrollto " href="#portfolio">Portfolio-detalles</a></li>
<li><a class="nav-link scrollto " href="portfolio-details.html">Portfolio</a></li>
<li><a class="nav-link scrollto" href="#team">Team</a></li>
<li class="dropdown"><a href="#"><span>Drop Down</span> <i class="bi bi-chevron-down"></i></a>
<ul>
<li><a href="#">Drop Down 1</a></li>
<li class="dropdown"><a href="#"><span>Deep Drop Down</span> <i
class="bi bi-chevron-right"></i></a>
<ul>
<li><a href="#">Deep Drop Down 1</a></li>
<li><a href="#">Deep Drop Down 2</a></li>
<li><a href="#">Deep Drop Down 3</a></li>
<li><a href="#">Deep Drop Down 4</a></li>
<li><a href="#">Deep Drop Down 5</a></li>
</ul>
</li>
<li><a href="#">Drop Down 2</a></li>
<li><a href="#">Drop Down 3</a></li>
<li><a href="#">Drop Down 4</a></li>
</ul>
</li>
<li><a class="nav-link scrollto" href="#contact">Contact</a></li> -->
<li><a class="getstarted scrollto2" href="index.html#about">Descarga</a></li>
</ul>
<i class="bi bi-list mobile-nav-toggle"></i>
</nav><!-- .navbar -->
</div>
</header><!-- End Header -->
<main id="main">
<!-- ======= Breadcrumbs ======= -->
<section class="breadcrumbs" style="background: #181A20;">
<div class="container">
<div class="d-flex justify-content-between align-items-center">
<center> <h1 style="color:#fff ;">Reproductor
<span class="play-store">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" fill="#e21221" class="bi bi-play-btn-fill" viewBox="0 0 16 16">
<path d="M0 12V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm6.79-6.907A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z"/>
</svg>
</span>
</h1>
</center>
<ol>
<center>
<li style="color: #e21221;">
<span style="color: #fff;" id="id-video" style="margin-left: 3px;"></span>
<span style="color: #fff;" id="id-temp"></span>
<span style="color: #fff;" id="id-cap"></span>
</li>
</center>
</ol>
</div>
</div>
</section><!-- End Breadcrumbs -->
<div class="container text-center">
<div class="row">
</div>
<div class="row">
<div class="col">
</div>
<div class="col">
</div>
<div class="col" style="padding-right: calc(var(--bs-gutter-x) * .5);
padding-left: calc(var(--bs-gutter-x) * .0);">
<a class="reload-btn" href="">
<i class="bi bi-arrow-counterclockwise"></i>
</a>
</div>
</div>
</div>
<section class="inner-page" style="background: #181A20; color:#fff; padding-top: 5px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;">
<div class="container">
<!-- <p id="href" style="display: flex;"></p>
<p id="href2" style="display: flex;"></p>-->
<div class="ratio ratio-4x3">
<iframe style="border-radius: 4px;" id="video" src="" title="" allowpaymentrequest="" allowfullscreen scrolling="yes"></iframe>
</div>
</div>
<div class="container mt-3">
</div>
</section>
</main><!-- End #main -->
<script>
function getUrl() {
return new Promise((resolve, reject) => {
var url = location.href;
var urlParams = new URLSearchParams(url.split('?')[1]);
var link0 = urlParams.get('urlvideo');
//
try {
var link6 = atob(link0);
document.getElementById("video").src = link6;
var urlID = link6;
var regex = /\/(\d+-\d+-\d+)\//;
var regex2 = /\/(\d+)\//;
var serie = urlID.match(regex);
var pelis = urlID.match(regex2);
if (serie) {
var numero = serie[1];
var numeroSeparado = numero.split("-");
console.log(numeroSeparado);
const link5 = numeroSeparado;
const link1 = "YXBpX2tleT0wMWE5M2U4OTM1NjcxMjZkYzIyNDRiNGVlZTllNjVlNiZsYW5ndWFnZT1lcy1NWA";
const link3 = "aHR0cHM6Ly9hcGkudGhlbW92aWVkYi5vcmcvMy90di8";
const link2 = atob(link1);
const link4 = atob(link3);
fetch(`${link4}${link5}?${link2}`)
.then(response => response.json())
.then(data => {
const nombreSerie = data.name;
var spanVideo = document.getElementById("id-video");
spanVideo.textContent = nombreSerie;
var spanCap = document.getElementById("id-temp");
spanCap.textContent = "(T" + numeroSeparado[1];
var spanCap = document.getElementById("id-cap");
spanCap.textContent = "- E" + numeroSeparado[2] + ")";
document.getElementById("reload-btn").href = location.href;
resolve();
})
.catch(error => reject(error));
}
if (pelis) {
var numero = pelis[1];
//var numeroSeparado = numero.split("-");
console.log(numero);
const link5 = numero;
const link1 = "YXBpX2tleT0wMWE5M2U4OTM1NjcxMjZkYzIyNDRiNGVlZTllNjVlNiZsYW5ndWFnZT1lcy1NWA";
const link3 = "aHR0cHM6Ly9hcGkudGhlbW92aWVkYi5vcmcvMy9tb3ZpZS8";
const link2 = atob(link1);
const link4 = atob(link3);
fetch(`${link4}${link5}?${link2}`)
.then(response => response.json())
.then(data => {
const movieName = data.title;
var spanVideo = document.getElementById("id-video");
spanVideo.textContent = movieName;
document.getElementById("reload-btn").href = location.href;
resolve();
})
.catch(error => reject(error));
}
} catch (error) {
reject(error);
}
});
}
getUrl()
.catch((error) => {
console.error("Ocurrió un error:", error);
});
</script>
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="footer-top">
<div class="container">
<div class="row">
</div>
</div>
</div>
<div class="container" id="container">
<div class="copyright-wrap d-md-flex py-4">
<div class="me-md-auto text-center text-md-start">
<div class="copyright">
© Copyright 2022 - <span id="year"></span> </span> <strong><span>WikiMedia</span></strong> . All Rights Reserved
</div>
<div class="credits">
Designed by <a href="https://www.facebook.com/ernesto.gavilaneslara">Ghost_KNA</a>
</div>
</div>
<div class="social-links text-center text-md-right pt-3 pt-md-0">
<br>
<a href="https://play.google.com/store/apps/details?id=com.phantomsolutions.wikimedia" class="play-store"><i class="bx bxl-play-store"></i></a>
<a href="https://chat.whatsapp.com/BibdxaZN1M9HCVat7gfKPS" class="whatsapp"><i class="bi bi-whatsapp"></i></a>
<a href="https://t.me/wiki_media_main" class="telegram"><i class="bx bxl-telegram"></i></a>
</div>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i
class="bi bi-arrow-up-short"></i></a>
<!-- Reload Web -->
<div id="preloader">
<img src="assets/img/logo+play.svg" class="img-preloader2">
<!--<img src="assets/img/logo+play.svg" class="img-preloader2">
-->
</div>
<!-- Vendor JS Files -->
<script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<script src="assets/js/gplay.js"></script>
</body>
</html>