forked from pigscanflyyy/Channels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFoxdeportes.html
166 lines (133 loc) · 3.74 KB
/
Foxdeportes.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TNT SPORTS 2</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;
}
.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>
</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>Foxdeportes en vivo </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" id="iframe" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="" src="foxdeportesclp_embed.html" scrolling="no" title="Reproductor 1" alt="Reproducir"></iframe>
</div>
<br>
<center><input class="button" onclick="mostrarMensaje1()" type="button" value="OP-01" />
<input class="button" onclick="mostrarMensaje2()" type="button" value="OP-CL" />
</center><br/>
<script type="text/javascript">
function mostrarMensaje1() {
document.getElementById("iframe").src = "foxdeportesjw_embed.html"
}
function mostrarMensaje2() {
document.getElementById("iframe").src = "foxdeportesclp_embed.html"
}
</script>
</div>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
<footer>
</footer>
<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>