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!ia0y~yVCV&5CT0c(hVKS~W(*7roB=)|t_)!C|NsByyXP-4 zFfcHd1o;IsI6S+N#=yW(@9E+g5^?zL6l=Z)1ChhK4*ab0*i+#3Z^KttjbxkXX;E7< zbz20SIP7PNWWMWaQCb^2F+fFetG7nbTq_lkl|FNYx+ZEsQP4eoDI;tgKk zqSPBSf6ET99e(Yvj}`7^iqRLoo`3LbbKzR9bxS9k1xLnb9(U$YYzf%FShlp4@w2MG PGRTddu6{1-oD!M