Skip to content

darron1217/strapi-plugin-video-thumbnail

Repository files navigation

Strapi plugin video-thumbnail

Add video thumbnail functionality to Strapi upload plugin.

This plugin works only if FFmpeg is installed on the server.

Install

If you are using Strapi 3.4.5 or lower, video thumbnails will not be displayed on Media Library.

Related PR - strapi/strapi#9184

npm install strapi-plugin-video-thumbnail

or

yarn add strapi-plugin-video-thumbnail

Supported Providers

  • Local
  • AWS S3

How does this plugin works?

  1. This plugin overrides Upload model's beforeCreate database lifecycle hook on bootstrap.js
  2. Take a screenshot of video. (Using FFMPEG)
  3. Generate thumbnails of screenshot. (Using upload plugin's methods)
  4. That's it :)

License

MIT