Add video to a campaign
As with audio files, most email programs can't display video content and will strip that code from your campaign. In MailChimp, there are three easy ways to display a video player image and link to the video online: using our auto-convert feature, by manually adding and linking an image, or by using merge tags.
- Using the auto-convert feature
- Manually link to your video
- Video merge tags
- Video merge tag options
Auto-convert your embedded videos
Are you already using embedded videos in your website, blog or RSS feed that you repurpose for email campaigns? If so, our auto-convert option is the easiest way to properly display them in your campaign.
In the Setup step of the Campaign Builder, expand the More Options heading and check the box next to Auto-convert video. That setting will tell MailChimp to search for video embed code and convert it into a screenshot and link the video file online, no matter how you build or design your campaign. Learn more about the auto-convert feature in this article.
Manually link to your video
Even though users can't play a video directly in their email inbox, you can design your email to look like there's a video in it. In the Campaign Builder, insert a screenshot of your video player and add a link to it. When the user clicks on the "play button," the video will open in a new browser window.
Video merge tags
Rather than embed video directly into an email, video merge tags generate an image of a video player and link it to your video online. Although the video can't play directly in an email program, the video player image mimics an online player—with a play button and progress bar. When a subscriber clicks the image, they'll be able to watch the video in a new browser window.
All video merge tags require you to enter some specific information about your video. They follow the format below:
where SERVICE will be replaced with the service name where your video is hosted, and XXXX is the unique identifier for the video.
Services and unique identifiers
Several services are supported in MailChimp's video merge tags. Use the list below to find the service name and how to locate your video's unique identifier.
- BLIPTV This unique identifier is found in BlipTV's embed code. Click the share option to get the embed code for the video. The video ID comes just after the iframe src= part of the code. In the following example, the video ID is AYLljHwC:
<iframe src="http://blip.tv/play/AYLljHwC.html?p=1" width="550" height="339" frameborder="0" allowfullscreen></iframe><embed type="application/x-shockwave-flash" src="http://a.blip.tv/api.swf#AYLljHwC" style="display:none"></embed>
Video merge tag options
In addition to the basic video merge tag, you can set other parameters for how the video player image will appear in your campaign. Some video hosting services don't recognize all of the merge tag options. Be sure to check the table below to make sure your service supports the tags you add.
- Sets the width of the screenshot in pixels. Defaults to the width of the screenshot provided by the hosting service. Maximum value is 450. Can only be used to reduce the screenshot size.
- Sets video title visibility. Y/N value. Defaults to Y to display the video title. Set to N to hide title.
- Sets screenshot image border. Y/N value. Defaults to Y to include border. Set to N for no border.
- Sets whether extra space is trimmed from screenshot. 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.
This feature is available to users with Author level or higher permissions. Take a look at this article to learn more about the different access levels for a MailChimp account.
You might be used to video merge tags that look like this: *|YOUTUBE:xxxx:max_width|*—these will continue to work, but you should use the tags above for new campaigns and templates.