From 0bc4e66a48a0bd9cbe02f2fa3f48db41a513c1fe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 15 Aug 2019 16:08:16 +0300 Subject: rename main class set lower hook priority via pluginhost --- README.md | 2 +- init.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f5a992..20479eb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ As a side effect, both video stream and generated poster are cached locally. ## Installation -1. git clone to ``plugins.local/af_z_video_fill_poster`` +1. git clone to ``plugins.local/af_video_fill_poster`` 2. Enable plugin ## License diff --git a/init.php b/init.php index 6d713b7..9126dd1 100644 --- a/init.php +++ b/init.php @@ -1,5 +1,5 @@ host = $host; $this->cache = new DiskCache("images"); - $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); + $host->add_hook($host::HOOK_ARTICLE_FILTER, $this, 100); } private function ffmpeg_thumbnail($input_filename, $output_filename) { -- cgit v1.2.3