diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | init.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -1,5 +1,5 @@ <?php -class Af_Z_Video_Fill_Poster extends Plugin { +class Af_Video_Fill_Poster extends Plugin { /* @var PluginHost $host */ private $host; @@ -17,7 +17,7 @@ class Af_Z_Video_Fill_Poster extends Plugin { $this->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) { |