eriksiemund/generate-video-poster
最新稳定版本:v0.1.8
Composer 安装命令:
composer require eriksiemund/generate-video-poster
包简介
Automatically/Manually generate video poster from first frame
README 文档
README
Kirby Video Poster Generator is a plugin for Kirby CMS that uses Canvas API to get the initial or selected frame from a video file. It works directly in the Panel and is compatible with most Kirby websites.
Install
You have to use composer to install the plugin into your project.
composer require eriksiemund/generate-video-poster
Setup
In the video file blueprint add a generatevideoposter field, browse to a video details page in panel and press the button.
site/blueprints/files/video.yml
title: Default Page fields: poster: label: My Poster type: files multiple: false width: 1/2 my_generatevideoposter_button: type: generatevideoposter
Use in Template or Snippet
site/snippets/video.php
$poster = $media->toFile()->poster()
Support and Questions
For the sake of reproducible bug reports, please include the following information in your bug reports:
- Kirby & Kirby Video Poster Generator version
- Browser environment (name, version, operating system)
- Global and section configuration (without any sensitive information)
- Steps to reproduce the bug (if no reproduction is provided)
- Screenshots or screen recordings if applicable
Feedback
I value your feedback and ideas for improving Kirby Video Poster Generator. If you have any suggestions, please feel free to reach out to me.
License
© 2025-PRESENT Erik Siemund
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-14