Video Thumbnail Aspect Ratio
Based on the use case, the aspect ratio of the thumbnail can be changed to fit a particular layout. Availalbe aspect ratios are: 1:1, 4:3, and 16:9.
Important Notes:
If you do not want the image to get cropped, make sure the source image has the same aspect ratio as the one you are using for the component.
Demo
Video duration: 4:55
Twig
{% include '@bolt-components-video-thumbnail/video-thumbnail.twig' with {
content: image,
aspect_ratio: '1:1',
video: {
title: 'Title of the Video',
duration: '4:55'
}
} only %}