Embed a Video in a Flow
Supported video formats
To add a video: add a new 'video' or 'HTML' component, and then paste in the embed code from a web video service. We explicitly support Wistia, Vimeo, and YouTube embeds, other services are supported using the HTML using 'iframes'. Check out the below video for a short tutorial on how to embed videos inside Appcues.
- How to get video embed codes from Wistia
- Embedding videos overview from Vimeo
- Embed a video guide from YouTube
To save you some time, here are the guides for generating embed codes for each service:
Adding Full-Screen YouTube Videos
To allow the option for full-screen mode, add the below snippet in the HTML section within the iframe embed link (provided by YouTube):
allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" oallowfullscreen="true" msallowfullscreen="true"><iframe>
Adding a video that hugs the Modal borders (no top or side margin)
You may need to adjust the margin settings so that it fits the size of your Modal:
<div style="margin-left:-54px;margin-top:-29px"><iframe src="YOUR URL HERE" title="your video" allow="autoplay; fullscreen" allowtransparency="true" frameborder=“0" scrolling="no" allowfullscreen msallowfullscreen width="650" height="366"></iframe></div>
<iframe src="//fast.wistia.net/embed/iframe/avk9twrrbn" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width="620" height="349"></iframe><script src="//fast.wistia.net/assets/external/E-v1.js" async></script><br>
How to edit/remove a video
Once you've embedded a video in a flow and you want to edit it or remove it, you'll need to hover with your mouse around the bottom edge of the iFrame in order to open the menu as shown in the GIF below.