Video
Content blocksVideo
A video that plays in the editor; in the email it is a clickable thumbnail (email-safe) that links to the video.
Options#
- Video file upload
- Poster/thumbnail image (made from the first frame)
- Play-button overlay
- Alignment and width
In the editor and in the email
The editor and Preview play the video when the link is playable: an .mp4, .webm, .mov or .m4v file, a YouTube watch, embed or youtu.be link, or a Vimeo link. The exported email never embeds a player. It shows the thumbnail with a round play button on top and the title under it, all linked to url. Without a thumbnail it exports a bordered box with the title and the link as text.
Values and defaults
url, the video link;thumbnail, the poster image;alt, default "Video preview".title, default "Product walkthrough", shown under the thumbnail.align: "center",width: 100,target: "_blank"andcrop_aspect: "wide".
Uploading a file
When a user uploads a video file, it becomes the video link and its first frame becomes the thumbnail. Both go through your upload handler, so set one up before users add video files.