forked from pigscanflyyy/Channels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHbomax.html
196 lines (161 loc) · 3.98 KB
/
Hbomax.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TV PUBLICA</title>
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
background: #ececec;
font-family: 'arial', sans serif;
}
.contenedor {
background: #fafafa;
width: 50%;
margin: 0 auto;
padding: 10px 10px;
text-align: justify;
}
.contenedor img {
width: 100%;
}
@media (max-width:600px) {
.contenedor {
width: 90%;
}
}
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 15px;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
.topnav {
overflow: hidden;
background-color: #333;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 12px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #68C420;
color: white;
}
.topnav .icon {
display: none;
}
.codembed {
float: left;
width: 100%;
height: auto;
}
.commenter {
float: left;
}
.commenter img {
width: 35px;
height: 35px;
}
.comment-text-area {
float: left;
width: 100%;
height: auto;
}
.textinput {
float: left;
width: 100%;
min-height: 30px;
outline: none;
resize: none;
border: 1px solid grey;
}
.button {
background-color: #50ff39; /* Green */
border: 3px solid Black;
text-align: center;
text-decoration: none;
font-size: 14px;
cursor: pointer;
font-weight: bold;
width: 115px;
}
</style>
<script>
window.onload = function(){
// your code here
// Define the string
var string = 'https://neyernot.cam/gg50.html?get=aHR0cHM6Ly9saXZlLmxsbi5sYXRhbS5oYm9tYXhjZG4uY29tL2NtYWYvbGl2ZS8yMDMxNjExL2Rhc2gvY2VuYy8yNzMyNi9tYXN0ZXIubXBk&key=MDEwMTZjNGIyOWFjYTcyYjZjZmEyZDdlNjcwNzU5MTc=&key2=ZmE3NzljZDUyMmYwZjQ4MjI4NjBiYmZmNDQ2Zjg5NjQ=';
// Encode the String
var encodedString = btoa(string);
console.log(encodedString); // Outputs: "SGVsbG8gV29ybGQh"
var source = "https://megatelevisionhd.com/embed/repro/?r="+encodedString;
var newFrameName = "hello";
const iframe = document.getElementById("iframe");
$('iframe').attr('src',source ).reload;
};
</script>
</head>
<body>
<div class="contenedor">
<div class="topnav" id="myTopnav">
<!-- menu -->
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<center><h2> </h2></center>
<br>
<input class="button" onclick="toggleFullscreen()" type="button" value="Fullscreen TV" />
<br>
<br>
<div class="video-container"> Loading the player...
<iframe class="embed-responsive-item" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="" src="" scrolling="no" title="Reproductor 1" alt="Reproducir"></iframe></div>
<br>
</div>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<footer>
</footer>
</script>
<script>function toggleFullscreen() {
let elem = document.querySelector("iframe");
if (!document.fullscreenElement) {
elem.requestFullscreen().catch((err) => {
alert(`Error attempting to enable fullscreen mode: ${err.message} (${err.name})`);
});
} else {
document.exitFullscreen();
}
}</script>
</body></html>