123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <!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 -->
- <!-- 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.dev.js"></script>
- </head>
- <body>
- <header>
- <h1>Reproductor LibreVideoJS</h1>
- </header>
- <section>
- <h2>Sección Libre</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">
- <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 + Change of Colors-->
- <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,
- });
- });
- 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
- });
- 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>
- -->
- <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 actual-->
- <script src="./js/fecha.js"></script>
- </body>
- </html>
|