add video icon

This commit is contained in:
ccd0 2013-11-28 00:25:52 -08:00
parent 6091915a96
commit a7913a081a
2 changed files with 4 additions and 0 deletions

View File

@ -17,9 +17,12 @@ Create a directory named cc at the root of your Tinyboard installation. Upload
Replace the files templates/post_thread.html and templates/post_reply.html with the files given here.
Move video.png to the static directory.
Add these lines to inc/instance-config.php:
$config['allowed_ext_files'][] = 'webm';
$config['file_icons']['webm'] = 'video.png';
$config['additional_javascript'][] = 'cc/settings.js';
$config['additional_javascript'][] = 'cc/expandvideo.js';
require_once 'cc/posthandler.php';
@ -32,6 +35,7 @@ And add this to stylesheets/style.css:
float: left;
margin: 10px 20px;
border: none;
background: #aaa;
}
div.post video.post-image {
padding: 5px;

BIN
video.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B