Most email clients can't display embedded video content, and will strip the code from your campaign. When you create a campaign in Mailchimp, use our Auto-Convert feature, link an image, insert a Video content block, or use merge tags to share a thumbnail image of the video that links to the video's URL.
In this article, you'll learn about each of these options and how to use them in your campaign.
Insert video content block
Our Video content block pulls a thumbnail image from your YouTube or Vimeo video and overlays a play button icon. The thumbnail is linked to the video URL, so subscribers can click the thumbnail to watch the video in a new browser window.
You can use videos from services other than YouTube and Vimeo, but you will need to upload an image to the Content Studio to represent the video.
For the video merge tag to work with Vzaar videos, the Public API Feeds setting in the API section of your Vzaar account settings needs to be set to either Public Videos Only or All Videos, so we can pull in your video through your Vzaar account's API.
As long as your Wistia video is public, the video's share link will include the unique ID at the end of the URL. For example mcLUn: http://home.wistia.com/m/msLUn
YouTube's unique ID is found at end of the URL. For example, fj77lSG6Bl8:
Center the video merge tag
By default, the merge tag aligns your video's thumbnail image on the left side of the content block. To center the video, you will need to add some code to the content block's HTML code.
To do this in the Campaign Builder, select the content block where you want the thumbnail for your video. Then click the Source icon (< >) in the editor toolbar, and add the following code where you want your video to appear.
<table align="center"> <tbody> <tr> <td> *|SERVICE:[$vid=XXXX]|* </td> </tr> </tbody> </table>
Replace SERVICE with the service name where your video is hosted and XXXX with your video's unique identifier.
Video merge tag options
In addition to the basic video merge tag, you can set other parameters for how the thumbnail image will appear in your campaign. Some video-hosting services don't recognize all of the merge tag options, so check the following table to make sure your service supports the tags you add.
Sets the width of the thumbnail in pixels. Defaults to the width of the thumbnail provided by the hosting service. Maximum value is 450. Can only be used to reduce the thumbnail size.
Sets video title visibility. Y/N value. Defaults to Y to display the video title. Set to N to hide title.
Sets thumbnail image border. Y/N value. Defaults to Y to include border. Set to N for no border.
Sets whether extra space is trimmed from the thumbnail. Y/N value. Defaults to Y to trim edges. Set to N to keep.
Show or hide video ratings, stars or likes. Y/N value. Defaults to Y to display. Set to N to hide.
Show or hide video views. Y/N value. Defaults to Y to display number of views. Set to N to hide.
For Wistia only. Specify the URL for tracking subscriber interaction.
Here's an example YouTube merge tag with all of the supported parameters specified.
*|YOUTUBE:[$vid=fj77lSG6Bl8, $max_width=300, $ratings=N, $views=N, $border=N, $title=N, $trim_border=N]|*
Which services support which options?
Some services support certain parameters, and others don't. This handy chart identifies which parameters can be used in a particular service's video merge tag.
|Service||max _width||title||border||trim _border||ratings||views||watch _url|
On the top, just the video ID is provided: *|BLIPTV:[$vid=XXX]|*
On the bottom, the optional parameters are all set to "N": *|BLIPTV:[$vid=XXX, $max_width=250, $title=N, $border=N, $trim_border=N]|*
On the top, just the video ID is provided: *|VIMEO:[$vid=XXX]|*
On the bottom, the optional parameters are all set to "N": *|VIMEO:[$vid=XXX, $max_width=250, $title=N, $border=N, $trim_border=N, $ratings=N]|*
On the left, just the video ID is provided: *|VZAAR:[$vid=XXX]|*
On the right, the optional parameters are all set to "N": *|VZAAR:[$vid=XXX, $max_width=250, $title=N, $border=N, $trim_border=N]|*
On the left, just the video ID is provided: *|WISTIA:[$vid=XXX]|*
On the right, the optional parameters are all set to "N": *|WISTIA:[$vid=XXX, $max_width=250, $title=N, $border=N, $trim_border=N, $watch_url=http://mailchimp.wistia.com/m/6f2zqA]|*
On the top, just the video ID is provided: *|YOUTUBE:[$vid=XXX]|*
On the bottom, the optional parameters are all set to "N": *|YOUTUBE:[$vid=XXX, $max_width=250, $title=N, $border=N, $trim_border=N, $ratings=N, $views=N]|*
In the past, you may have used video merge tags that look like *|YOUTUBE:xxxx:max_width|*—these will continue to work, but you should use the tags above for new campaigns and templates.
Auto-convert embedded videos
Our Auto-convert video feature finds embedded videos in your campaign and converts them to linked screenshots. This feature is useful for content imported from HTML or RSS feeds.
To turn on Auto-convert video, navigate to the Campaign Builder and check the box next to Auto-convert video in the Settings & Tracking section.