Skip to main content

Poster of MP4: Get the first frame of video

Comments

3 comments

  • Loic Verger Del Bove

    Hi Itamar,

    Raw URLs are not yet supported by our Video Player but there is a workaround.

    You can first generate a video thumbnail of the video. If you want the first frame, you can use the start_offset parameter and set it to 0 e.g https://res.cloudinary.com/demo/video/upload/so_0/dog.jpg. Then you can use this URL as the poster URL without forgetting to doubling the extension i.e:

    var demoplayer = cld.videoPlayer('doc-player', {
    publicId: 'dog',
    controls: true,
    posterOptions: { publicId: 'https://res.cloudinary.com/demo/video/upload/so_0/dog.jpg.jpg'}
    }).width(500);

    You can find below 2 examples of the video player with and without the poster:

    Hope that helps.

    Best,

    Loic

    0
  • Deepak Tomar

    How to generate first frame thumbnail of video. We are using video on mobile app there we can't use video tab as you suggested.

    We have admin panel where we are managing video and deliver to APP. So we need to generate first frame thumbnail of video. 

    There is any api or transformation to get or get first frame image as a image.

    0
  • Wissam Khalili

    Hi there,

    Sorry for the late response.

    In order to create an image thumbnail, please follow this straight forward instruction:
    https://cloudinary.com/documentation/video_effects_and_enhancements#video_thumbnails

    Hope you find it useful

    Thanks,

    Wissam

    0

Post is closed for comments.