You are here

public function FFmpeg::getVideoThumbnails in Video 8.2

Get the video thumbnails.

Return value

array Array of video thumbnails.

Overrides TranscoderInterface::getVideoThumbnails

File

modules/video_transcode/src/Plugin/video/Transcoder/Ffmpeg.php, line 34
Contains \Drupal\video_transcode\Plugin\video\Transcoder\Ffmpeg.

Class

FFmpeg
Provides Ffmpeg.

Namespace

Drupal\video_transcode\Plugin\video\Transcoder

Code

public function getVideoThumbnails() {
  return [
    [
      'id' => 1,
      'url' => 'http://s3.amazonaws.com/bucket/video/frame_0000.png',
    ],
  ];
}