The version of vichan running on lainchan.org
Go to file
2013-11-09 16:35:35 -08:00
collapse.gif add files 2013-11-09 01:11:22 -08:00
expandvideo.js fix size computation for hover 2013-11-09 16:35:35 -08:00
LICENSE.md add files 2013-11-09 01:11:22 -08:00
matroska-elements.txt add files 2013-11-09 01:11:22 -08:00
matroska.php add files 2013-11-09 01:11:22 -08:00
player.php add files 2013-11-09 01:11:22 -08:00
playersettings.js add files 2013-11-09 01:11:22 -08:00
post_reply.html add files 2013-11-09 01:11:22 -08:00
post_thread.html add files 2013-11-09 01:11:22 -08:00
posthandler.php add files 2013-11-09 01:11:22 -08:00
README.md remove caps 2013-11-09 13:50:15 -08:00
settings.js make hover default to off 2013-11-09 14:28:49 -08:00
videodata.php add files 2013-11-09 01:11:22 -08:00

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.

The software here extends Tinyboard 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.

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.

Installation

Create a directory named cc at the root of your Tinyboard installation. Upload these files into that directory.

Replace the files templates/post_thread.html and templates/post_reply.html with the files given here.

Add these lines to inc/instance-config.php:

$config['allowed_ext_files'][] = 'webm';
$config['additional_javascript'][] = 'cc/settings.js';
$config['additional_javascript'][] = 'cc/expandvideo.js';
require_once 'cc/posthandler.php';
event_handler('post', 'postHandler');

And add this to stylesheets/style.css:

video.post-image {display: block; float: left; margin: 10px 20px; border: none;}