clarify license information

This commit is contained in:
ccd0 2014-03-19 16:04:23 -07:00
parent 5b74472eeb
commit 37887abfd4
9 changed files with 21 additions and 4 deletions

View File

@ -1,14 +1,13 @@
This project is an effort to enable imageboards to host small video clips. With modern video compression, it's possible to share much higher-quality videos in a few megabytes than the with animated GIF files. This project is an effort to enable imageboards to host small video clips. With modern video compression, it's possible to share much higher-quality videos in a few megabytes than what you can do with animated GIF files.
The software here extends [Tinyboard](http://tinyboard.org/) to display metadata and create pseudo-thumbnails for WebM video files. It is intended to work on very basic web hosting services, including any hosting service that can run Tinyboard. In particular, it does not depend on any video conversion software such as FFmpeg. For this reason, it cannot create true thumbnails, but uses pseudo-thumbnails consisting of a single frame extracted from the video. The software here extends [Tinyboard](http://tinyboard.org/) to display metadata and create pseudo-thumbnails for WebM video files. It is intended to work on very basic web hosting services, including any hosting service that can run Tinyboard. In particular, it does not depend on any external video conversion software such as FFmpeg or Libav. Rather, it parses the video container to extract a single frame from the video to use in place of a thumbnail. If you can run FFmpeg or Libav on your server, it's a good idea to modify this code to use those tools to create true thumbnails; in the future, an option will be added to enable this.
A board using this code can be found at: A board using this code can be found at:
http://containerchan.org/tb/demo/ http://containerchan.org/tb/demo/
Be aware that this is beta software. Please report any bugs you find. Be aware that this is beta software. Please report any bugs you find.
The modified Tinyboard templates (post_reply.html and post_thread.html) are subject to the Tinyboard licence (see LICENSE.md). The portions of this software not derived from Tinyboard are released into the public domain. Much of the code is not specific to Tinyboard, and you are welcome to use it in your own projects. See the [core](https://github.com/ccd0/containerchan/tree/core) branch for a version without material from Tinyboard.
Installation Installation
------------ ------------
@ -45,3 +44,8 @@ And add this to stylesheets/style.css:
top: 1em; top: 1em;
right: 1em; right: 1em;
} }
License
-------
See [LICENSE.md](https://github.com/ccd0/containerchan/blob/master/LICENSE.md).

View File

@ -1,3 +1,6 @@
/* This file is dedicated to the public domain; you may do as you wish with it. */
/* Note: This code expects the global variable configRoot to be set. */
function setupVideo(thumb, url) { function setupVideo(thumb, url) {
var video = null; var video = null;
var videoContainer, videoHide; var videoContainer, videoHide;

View File

@ -1,4 +1,6 @@
<?php <?php
/* This file is dedicated to the public domain; you may do as you wish with it. */
// Information needed to parse an element type // Information needed to parse an element type
class EBMLElementType { class EBMLElementType {
public $name; public $name;

View File

@ -1,4 +1,5 @@
<?php <?php
/* This file is dedicated to the public domain; you may do as you wish with it. */
$params = '?v=' . urlencode($_GET['v']) . '&amp;t=' . urlencode($_GET['t']); $params = '?v=' . urlencode($_GET['v']) . '&amp;t=' . urlencode($_GET['t']);
$loop = ($_GET['loop'] != "0"); $loop = ($_GET['loop'] != "0");
?><!DOCTYPE html> ?><!DOCTYPE html>

View File

@ -1,3 +1,4 @@
/* This file is dedicated to the public domain; you may do as you wish with it. */
if (window.addEventListener) window.addEventListener("load", function(e) { if (window.addEventListener) window.addEventListener("load", function(e) {
document.getElementById("playerheader").appendChild(settingsMenu); document.getElementById("playerheader").appendChild(settingsMenu);

View File

@ -1,3 +1,4 @@
/* This file is dedicated to the public domain; you may do as you wish with it. */
body { body {
background: black; background: black;
color: white; color: white;

View File

@ -1,4 +1,6 @@
<?php <?php
// Glue code for handling a Tinyboard post.
// Portions of this file are derived from Tinyboard code.
function postHandler($post) { function postHandler($post) {
global $board, $config; global $board, $config;

View File

@ -1,3 +1,5 @@
/* This file is dedicated to the public domain; you may do as you wish with it. */
// Default settings // Default settings
var defaultSettings = { var defaultSettings = {
"videoexpand": true, "videoexpand": true,

View File

@ -1,4 +1,5 @@
<?php <?php
/* This file is dedicated to the public domain; you may do as you wish with it. */
require dirname(__FILE__) . '/matroska.php'; require dirname(__FILE__) . '/matroska.php';
function matroskaSeekElement($name, $pos) { function matroskaSeekElement($name, $pos) {