From 37887abfd48ad9cfb0e0b7568be9ae7e285770be Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 19 Mar 2014 16:04:23 -0700 Subject: [PATCH] clarify license information --- README.md | 12 ++++++++---- expandvideo.js | 3 +++ matroska.php | 2 ++ player.php | 1 + playersettings.js | 1 + playerstyle.css | 1 + posthandler.php | 2 ++ settings.js | 2 ++ videodata.php | 1 + 9 files changed, 21 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 404aa120..71036c07 100644 --- a/README.md +++ b/README.md @@ -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: http://containerchan.org/tb/demo/ 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 ------------ @@ -45,3 +44,8 @@ And add this to stylesheets/style.css: top: 1em; right: 1em; } + +License +------- + +See [LICENSE.md](https://github.com/ccd0/containerchan/blob/master/LICENSE.md). diff --git a/expandvideo.js b/expandvideo.js index e63f07f6..27438427 100644 --- a/expandvideo.js +++ b/expandvideo.js @@ -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) { var video = null; var videoContainer, videoHide; diff --git a/matroska.php b/matroska.php index 17ff344a..5f1c38ee 100644 --- a/matroska.php +++ b/matroska.php @@ -1,4 +1,6 @@ diff --git a/playersettings.js b/playersettings.js index 8d9a8d20..861d27c2 100644 --- a/playersettings.js +++ b/playersettings.js @@ -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) { document.getElementById("playerheader").appendChild(settingsMenu); diff --git a/playerstyle.css b/playerstyle.css index efb570bb..b78b67ef 100644 --- a/playerstyle.css +++ b/playerstyle.css @@ -1,3 +1,4 @@ +/* This file is dedicated to the public domain; you may do as you wish with it. */ body { background: black; color: white; diff --git a/posthandler.php b/posthandler.php index 639254e1..50adbe80 100644 --- a/posthandler.php +++ b/posthandler.php @@ -1,4 +1,6 @@