1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-14 19:07:39 +01:00
vichan/inc/lib/webm
runit 63b71bf1fc We're not Tinyboard anymore. We've been vichan for 8 years. We should reflect that.
Also use Github wiki so new enhancements can be reflected. It's better than linking to 10-year-old archived documentation.
I'll update the wiki eventually.
2022-10-15 10:09:10 -04:00
..
ffmpeg.php a stricter check for webm processing 2015-08-11 03:46:02 +02:00
matroska-elements.txt matroska elements go there 2014-04-06 21:29:09 +02:00
matroska.php move php files to a more sane directory 2014-04-06 21:21:17 +02:00
posthandler.php Add extension mp4 2015-08-10 22:15:21 -03:00
README.md We're not Tinyboard anymore. We've been vichan for 8 years. We should reflect that. 2022-10-15 10:09:10 -04:00
videodata.php move php files to a more sane directory 2014-04-06 21:21:17 +02:00

This directory contains files being the integration of containerchan with vichan-devel imageboards.

Containerchan allows posting of webm files, like they were the regular images.

An original board using this code can be found at: http://containerchan.org/tb/demo/

The original repo containing the containerchan (possibly with no Tinyboard integration) can be found here: https://github.com/ccd0/containerchan

Be aware that this is beta software. Please report any bugs you find.

Installation

Add these lines to inc/secrets.php:

$config['allowed_ext_files'][] = 'webm';
$config['additional_javascript'][] = 'js/webm-settings.js';
$config['additional_javascript'][] = 'js/expand-video.js';

If you have an FFmpeg binary on your server and you wish to generate real thumbnails (the webm thumbnails created with the original implementation reportedly cause users' browsers to crash), add the following to inc/secrets.php as well:

$config['webm']['use_ffmpeg'] = true;

// If your ffmpeg binary isn't in your path you need to set these options
// as well.

$config['webm']['ffmpeg_path'] = '/path/to/ffmeg';
$config['webm']['ffprobe_path'] = '/path/to/ffprobe';

MP4 support

MP4 support is available only if you use FFmpeg thumbnailing (see above).

$config['allowed_ext_files'][] = 'mp4';

License

See LICENSE.md.