Methods
- A
- F
- P
Class Public methods
accept?(blob) Link
ffmpeg_exists?() Link
ffmpeg_path() Link
Instance Public methods
preview(**options) Link
# File activestorage/lib/active_storage/previewer/video_previewer.rb, line 23 def preview(**options) download_blob_to_tempfile do |input| draw_relevant_frame_from input do |output| yield io: output, filename: "#{blob.filename.base}.jpg", content_type: "image/jpeg", **options end end end