summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorccd0 <admin@containerchan.org>2013-11-28 00:25:52 -0800
committerccd0 <admin@containerchan.org>2013-11-28 00:25:52 -0800
commita7913a081a6108c8d0bc4b15c915db30cbb05070 (patch)
tree8a15acbfbfd35a4c457c4e60a9af5a23b3ca14ea
parent6091915a965bbad8f3a51eced533cc9df7b9ced3 (diff)
add video icon
-rw-r--r--README.md4
-rw-r--r--video.pngbin0 -> 218 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4cb1b912..104aa47c 100644
--- a/README.md
+++ b/README.md
@@ -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;
diff --git a/video.png b/video.png
new file mode 100644
index 00000000..935a1d54
--- /dev/null
+++ b/video.png
Binary files differ