From a7913a081a6108c8d0bc4b15c915db30cbb05070 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 28 Nov 2013 00:25:52 -0800 Subject: [PATCH] add video icon --- README.md | 4 ++++ video.png | Bin 0 -> 218 bytes 2 files changed, 4 insertions(+) create mode 100644 video.png 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 0000000000000000000000000000000000000000..935a1d54d127c04d335a5cf5c4603b4ee05601e2 GIT binary patch literal 218 zcmeAS@N?(olHy`uVBq!ia0vp^y&%lQ3?#oB2$}&Y&H$efS0D`p|NsAQzI*->ki}RM zo9Jm#TQhZA1e`eR zXNqLL>uOP28#^&TMRBXQM$lX<6_J%bbA`G>mg;f3Y6Wd?QR)ruZ&Bh6UJqmi&EK-a zYlmO^>tls`nPT*Xuje29+FZDnYu(bxX2Fs1na7mdK II;Vst0K9!o3;+NC literal 0 HcmV?d00001