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
|
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Reproductor LibreVideoJS basado en VideoJS v4.3.</title>
<link rel="author" type="text/plain" href="humans.txt">
<!-- Favicon Libre -->
<link rel="shortcut icon" href="./images/gnu-linux_libre.png">
<!-- Normalizador -->
<link href="./css/normalize.css" rel="stylesheet" type="text/css">
<!--Begin | Estilos de la Página -->
<style>
body {
background-color: #141517;
color: white;
}
.change_color {
text-align: center;
}
.change_color input[type='Button'] {
display: inline-block;
border-style: none;
cursor: pointer;
font-size: 12px;
text-align: center;
margin-top: 10px;
padding: 5px 10px;
}
.change_color input[onclick="multiColor('teal');"] {
background-color: #2ecc71;
}
.change_color input[onclick="multiColor('blue');"] {
background-color: #3498db;
}
.change_color input[onclick="multiColor('yellow');"] {
background-color: #f1c40f;
}
.change_color input[onclick="multiColor('red');"] {
background-color: #e74c3c;
}
.change_color input[onclick="multiColor('purple');"] {
background-color: #9b59b6;
}
.change_color input[onclick="multiColor('grey');"] {
background-color: #9e9e9e;
}
h1,
h2,
h3 {
text-align: center;
}
a {
text-decoration: none;
color: #189e7d;
}
a:hover {
color: #1de9b6;
}
.clase1 {
margin: 20px;
}
p,
.clase2 {
margin: 20px;
}
footer {
background-color: #1e1b1f;
text-align: center;
margin: 20px;
padding: 10px;
}
</style>
<!-- Ending | Estilos de la Página -->
<!-- Begin | LibreVideoJS -->
<!-- LibreVideoJS ProggresTips -->
<link rel="stylesheet" href="./css/proggrestips/proggrestips.css">
<!-- LibreVideoJS Quality -->
<link rel="stylesheet" href="./css/selector/video-quality-selector.css">
<script>
/*
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyleft 2017 Jesús Eduardo.
The JavaScript code in this page is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this page.
*/
</script>
<!-- LibreVideoJS Estilos -->
<script>
var filename = "./css/mix-material/mix-teal.css";
var _color = location.search.split('color=')[1];
if (_color != undefined && _color != "" && _color != "teal")
filename = "./css/mix-material/mix-" + _color + ".css";
var fileref = document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", filename);
document.getElementsByTagName("head")[0].appendChild(fileref);
</script>
<!-- LibreVideoJS JavaScript -->
<script src="./js/cliplibrejs.developer.js"></script>
<!-- Ending | LibreVideoJS -->
</head>
<body>
<header>
<h1>Reproductor LibreVideoJS</h1>
</header>
<section>
<h2>Demo con la funcionalidad de ProgressTips | Requiere jQuery</h2>
<article class="clase1">
<h3>Vídeo de Software Libre</h3>
<video id="example" controls="controls" preload="none" poster="./images/poster.jpg" data-setup="{}">
<source data-res="original" src="https://archive.org/download/libre848x476/libre640x480.ogv" type="video/ogg">
<source data-res="480p" src="https://archive.org/download/libre848x476/libre848x476.ogv" type="video/ogg">
<source data-res="240p" src="https://archive.org/download/libre848x476/libre320x240.ogv" type="video/ogg">
<source data-res="144p" src="https://archive.org/download/libre848x476/libre256x144.ogv" type="video/ogg">
<track kind="captions" src="./subtitles/libre_en.vtt" srclang="en" label="English">
<track kind="captions" src="./subtitles/libre_es.vtt" srclang="es" label="Español" default="">
<track kind="subtitles" src="./subtitles/libre_en.vtt" srclang="en" label="English">
<track kind="subtitles" src="./subtitles/libre_es.vtt" srclang="es" label="Español">
<p class="no_html5">Lo siento, este navegador no soporta HTML 5. Por favor, cambia o actualiza tu navegador Web</p>
</video>
<div class="change_color">
<input type="Button" onclick="multiColor('teal');" value="teal">
<input type="Button" onclick="multiColor('blue');" value="blue">
<input type="Button" onclick="multiColor('yellow');" value="yellow">
<input type="Button" onclick="multiColor('red');" value="red">
<input type="Button" onclick="multiColor('purple');" value="purple">
<input type="Button" onclick="multiColor('grey');" value="grey">
</div>
</article>
</section>
<p>Conferencia de Richard M. Stallman en Retina | España</p>
<p>Puede: <a href="https://archive.org/download/libre848x476/libre640x480.ogv" download="Conferencia-de-Richard-M.-Stallman-en-Retina-España" target="_blank">Descargar el vídeo</a></p>
<aside class="clase2">
<h3>¿Qué es el software Libre?</h3>
<blockquote cite="https://www.gnu.org/home.es.html">
<p>
Software libre significa que los usuarios tienen la libertad de ejecutar, copiar, distribuir, estudiar, modificar y mejorar el software.
</p>
<p>
El software libre es una cuestión de libertad, no de precio. Para entender el concepto, debe pensarse en «Libre» como en «Libertad de expresión», no como en «cerveza gratis».
</p>
</blockquote>
</aside>
<!-- Quality Selector + Hotkeys + ProgreesTips + Cambio de Colores-->
<script type="text/javascript">
// Insert class base
var estilos = document.getElementById("example");
estilos.className += " cliplibre-js-responsive-container librevjs-hd cliplibre-js librevjs-libre-mix-skin";
// funciones
cliplibrejs('#example', {
plugins: {
resolutionSelector: {
force_types: ['video/webm', 'video/ogg'],
default_res: "480p",
}
},
nativeControlsForTouch: false
}).ready(function(){
this.hotkeys({
volumeStep: 0.1,
seekStep: 5,
enableMute: true,
enableFullscreen: true,
enableNumbers: true,
}),/*ProgressTips*/
this.progressTips();
});
function multiColor(_color) {
history.replaceState({}, '', '?color=' + _color);
location.reload();
};
</script>
<!--
Abajo ↓ : Códigos individuales
-->
<!-- Quality Selector -->
<!--
<script type="text/javascript">
cliplibrejs('#example', {
plugins: {
resolutionSelector: {
force_types: ['video/webm', 'video/ogg'],
default_res: "480p"
}
},
nativeControlsForTouch: false
}); /*Cambio de colores*/
function multiColor(_color) {
history.replaceState({}, '', '?color=' + _color);
location.reload();
};
</script>
-->
<!-- Hotkeys -->
<!--
<script>
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
cliplibrejs('#example').ready(function() {
this.hotkeys({
volumeStep: 0.1,
seekStep: 5,
enableMute: true,
enableFullscreen: true,
enableNumbers: true
});
});
// @license-end
</script>
-->
<!-- ProgressTips -->
<!--
<script>
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
cliplibrejs( '#example', {}, function() {this.progressTips();} );
// @license-end
</script>
-->
<footer>
Basado en VideoJS, depurado y escrito por Jesús Eduardo en el año 2016 - <span id="year"></span>.
</footer>
<!-- Script NO necesario | solo para la fecha -->
<script src="./js/fecha.js"></script>
<!-- jQuery 3.1.1 requerido por LibreVideoJS ProggresTips -->
<script src="./js/jquery-3.1.1.js"></script>
</body>
</html>
|