Class: ActiveStorage::HotCell::Client::Previewers::Video::Ffmpeg
- Inherits:
-
Previewer::VideoPreviewer
- Object
- Previewer::VideoPreviewer
- ActiveStorage::HotCell::Client::Previewers::Video::Ffmpeg
- Includes:
- Previewing
- Defined in:
- lib/active_storage/hot_cell/client/previewers/video/ffmpeg.rb
Overview
What Rails configures in config.active_storage.previewers, replacing VideoPreviewer.
Class Method Summary collapse
-
.accept?(blob) ⇒ Boolean
blob.video? is the content-type predicate the superclass uses; ffmpeg_exists? is the part that has to go.
Methods included from Previewing
Class Method Details
.accept?(blob) ⇒ Boolean
blob.video? is the content-type predicate the superclass uses; ffmpeg_exists? is the part that has to go.
21 22 23 |
# File 'lib/active_storage/hot_cell/client/previewers/video/ffmpeg.rb', line 21 def self.accept?(blob) blob.video? end |