2014-04-06 15:56:34 -04:00
This directory contains files being the integration of containerchan with vichan-devel imageboards.
2013-11-09 04:11:22 -05:00
2014-04-06 15:56:34 -04:00
Containerchan allows posting of webm files, like they were the regular images.
2013-11-09 04:11:22 -05:00
2014-04-06 15:56:34 -04:00
An original board using this code can be found at:
2013-11-09 04:11:22 -05:00
http://containerchan.org/tb/demo/
2014-04-06 15:56:34 -04:00
The original repo containing the containerchan (possibly with no Tinyboard integration) can be found here:
https://github.com/ccd0/containerchan
2013-11-09 04:11:22 -05:00
2014-04-06 15:56:34 -04:00
Be aware that this is beta software. Please report any bugs you find.
2013-11-09 04:11:22 -05:00
2013-11-09 16:50:15 -05:00
Installation
2013-11-09 16:47:49 -05:00
------------
2013-11-09 04:11:22 -05:00
Add these lines to inc/instance-config.php:
2013-11-09 16:45:09 -05:00
2013-11-09 16:40:47 -05:00
$config['allowed_ext_files'][] = 'webm';
2014-04-06 15:56:34 -04:00
$config['additional_javascript'][] = 'js/webm-settings.js';
$config['additional_javascript'][] = 'js/expand-video.js';
2014-03-19 19:04:23 -04:00
2014-09-15 19:34:36 -04:00
If you have an [FFmpeg ](https://www.ffmpeg.org/ ) 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/instance-config.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';
2015-08-10 21:47:44 -04:00
MP4 support
-----------
MP4 support is available only if you use FFmpeg thumbnailing (see above).
$config['allowed_ext_files'][] = 'mp4';
2014-03-19 19:04:23 -04:00
License
-------
See [LICENSE.md ](https://github.com/ccd0/containerchan/blob/master/LICENSE.md ).