Unverified Commit f820294b authored by fauno's avatar fauno
Browse files

el _site no se sube

parent f57648e8
node_modules/
.bundle/
_site/
This diff is collapsed.
# Streaming
Genera un sitio que muestra un stream de video en distintos formatos a
partir de una fuente Icecast.
El sitio se encarga de recuperar la transmisión cuando se corta.
## Uso
Modificar el archivo `_config.yml`:
```yaml
title: MIAU Dev
lang: es
markdown: kramdown
streaming:
url: https://trans.kefir.red
stream: miaudev
formats:
- webm
- mp4
```
El parámetro `url` es la dirección base del servidor Icecast. `stream`
es el nombre del video, el `canal` en terminología de Icecast.
Los `formats` son los formatos de video disponibles, al menos tiene que
haber uno.
Colocar en el archivo `assets/cover.jpg` la portada de los videos y
en `assets/favicon.gif` el icono del sitio.
/**************************************************/
/******************* RESETEADOR *******************/
/**************************************************/
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* Old browsers / Para viejos exploradores */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1.5;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/**************************************************/
html, body {
margin: 0;
padding: 0;
background: black;
}
/* Ver el video en pantalla completa */
.full {
min-width: 100%;
min-height: 100%;
}
.full video {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: auto;
max-height: 100%;
margin-right: -50%;
transform: translate(-50%, -50%);
z-index: 0;
}
This diff is collapsed.
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'jekyll' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
bundle_binstub = File.expand_path("../bundle", __FILE__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end
require "rubygems"
require "bundler/setup"
load Gem.bin_path("jekyll", "jekyll")
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>MiauDev</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="assets/favicon.gif">
<link href="assets/main.css" rel="stylesheet" />
<script type="text/javascript" src="assets/streaming.js"></script>
</head>
<body>
<div class="full">
<video controls autoplay="false" poster="assets/cover.jpg">
<source src="https://trans.kefir.red/miaudev.webm"
id="webm"
type="video/webm"/>
<source src="https://trans.kefir.red/miaudev.mp4"
id="mp4"
type="video/mp4"/>
</video>
</div>
</body>
</html>
{
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"zepto": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/zepto/-/zepto-1.2.0.tgz",
"integrity": "sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g="
}
}
}
{
"dependencies": {
"zepto": "^1.2.0"
}
}
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
zepto@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/zepto/-/zepto-1.2.0.tgz#e127bd9e66fd846be5eab48c1394882f7c0e4f98"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment