Submit Article Requests

Do you have a suggestion for an article you would like to see created?
Feel free to submit this form and add your suggestions to our document board.

Please fill out the contact form below and we will reply as soon as possible.

  • Integration Hub
  • Contact Us
  • Docs home
  • Web Experiences
  • Customization & Styling

Embed videos in experiences

Add a YouTube, Vimeo, or Wistia video to a Flow or Embed step.

Updated at November 17th, 2026

Submit Article Requests

Do you have a suggestion for an article you would like to see created?
Feel free to submit this form and add your suggestions to our document board.

Please fill out the contact form with the details about the help content you'd like to see.

  • Home

  • Getting Started

    • Installation & Developers

      • Campaigns

        • Web Experiences

          • Mobile Experiences

            • Analytics & Data

              • Workflows

                • Integrations

                  • Account Settings

                    Table of Contents

                    Add a video Get embed codes from popular hosts Size and space the video Allow full screen Change or remove a video Using legacy Flows? Confirm it worked If the video doesn't play The block stays blank The host or a Content Security Policy blocks the video If it's still not working

                    Add a video from YouTube, Vimeo, Wistia, or any host that gives you an embed code. You can't upload video files to Appcues. This article covers Flows 2.0 and Embeds; for legacy Flows, see Using legacy Flows? below. For mobile, see Add Videos to Mobile Flows.

                    Add a video

                    1. Copy the video's link or its iframe embed code from your video host.
                    2. Open the experience in the builder, select an empty cell, and choose iFrame.
                    3. On the Content tab, paste the link or code into Code or URL. The video appears in the step.

                    For YouTube, paste the regular video link or a youtu.be share link. Appcues turns it into an embed link and keeps any start time in the link. For other hosts, paste the iframe embed code, or the player URL from inside it, such as https://player.vimeo.com/video/VIDEO_ID. A regular page link from those hosts loads the whole page, not the player.

                    Get embed codes from popular hosts

                    • YouTube: Embed a video
                    • Vimeo: Embedding videos overview
                    • Wistia: Inline embeds

                    Size and space the video

                    The video fills its cell, so resize the cell to make the video bigger or smaller. See Design step layouts. Any width and height in pasted embed code are ignored.

                    To add a border, round the corners, or set margins, select the iFrame block and open the Design tab.

                    Allow full screen

                    When you paste a link, full screen is allowed automatically. When you paste embed code, make sure the <iframe> tag includes allowfullscreen.

                    Appcues keeps only the <iframe> tag from pasted code, with these attributes: src, title, allow, allowfullscreen, referrerpolicy, loading, frameborder, and sandbox. Scripts and wrapper <div> tags are dropped. Code with no <iframe> tag, such as Wistia's standard JavaScript embed, isn't accepted, so use the host's iframe embed option instead.

                    Change or remove a video

                    Select the iFrame block. To swap the video, paste a new link or code into Code or URL. To remove it, delete the block.

                    Using legacy Flows?

                    In the legacy Flow builder, add a video with the Video or HTML component:

                    1. Select the step, click +, and select Video or HTML.
                    2. Paste the iframe embed code. YouTube, Vimeo, and Wistia embed codes work as they are.
                    3. Click Save.

                    For other hosts, wrap the video URL in an iframe tag:

                    <iframe src="VIDEO_URL" title="Your Title"></iframe>

                    YouTube embeds don't always allow full screen. Add this inside the <iframe> tag in the HTML component:

                    allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"

                    To make a video fill a Modal edge to edge, wrap the iframe in a <div> with negative margins, and adjust the values to your Modal's size:

                    <div style="margin-left:-54px;margin-top:-29px">
                      <iframe src="YOUR_VIDEO_URL" title="Your video" allow="autoplay; fullscreen" frameborder="0" scrolling="no" allowfullscreen width="650" height="366"></iframe>
                    </div>

                    To edit or remove a video, hold Shift and click it in the builder. Replace the embed code, or delete the component.

                    Zight Recording 2025-05-14 at 06.09.17 PM

                    If a video doesn't render, its embed code may include JavaScript that conflicts with the Flow. Use a plain iframe instead, with your host's direct embed URL:

                    <iframe src="//fast.wistia.net/embed/iframe/YOUR_VIDEO_ID" frameborder="0" scrolling="no" allowfullscreen width="620" height="349"></iframe>

                    If a video is cut off or has extra white space, change the iframe's width and height to fit your Modal or Slideout.

                     
                     

                    Confirm it worked

                    Preview the experience. The player loads in the step and plays. If you allowed full screen, the player shows its full-screen button.

                    If the video doesn't play

                    The block stays blank

                    Check what you pasted. It must be a link, or code that contains an <iframe> tag. If you pasted a regular page link from a host other than YouTube, use the player URL from the host's embed code. If the link or code is right, the host may block embedding (see below).

                    The host or a Content Security Policy blocks the video

                    If the block loads but shows a playback error, a blank frame, or a "refused to connect" message, check these two causes:

                    • Embedding is turned off at the host. Make sure the video allows embedding. On YouTube, check the video's Visibility settings. On Wistia, check the Embed sharing option. On Vimeo, go to Settings > Privacy > Where can this video be embedded? and add your app's domain.
                    • Your site's Content Security Policy (CSP) blocks the host. If your app sets a frame-src or default-src directive, add the video host to it, for example https://www.youtube.com, https://player.vimeo.com, or https://fast.wistia.net. Appcues itself also needs https://fast.appcues.com in frame-src.

                    To confirm a CSP problem, open your browser's developer console (F12 > Console) and look for errors that mention frame-src, Refused to frame, or blocked by Content Security Policy. For setup steps, see Configure a Content Security Policy.

                    If it's still not working

                    Contact support with the embed code or link you used, the experience's Experience ID (on its Settings tab, in Who changed this), the step number, and a screenshot or screen recording of the problem.

                    flow insert include video embed video video in a flow youtube video wistia

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Themes and advanced styling
                    • Use design tokens to lock in brand styles in your Appcues Theme
                    • Design step layouts
                    • Design content in the experience builder
                    • Use step templates
                    Appcues logo

                    Product

                    Why Appcues How it works Integrations Security Pricing What's new

                    Use cases

                    Appcues Integration Hub User Onboarding Software Feature Adoption Software NPS & Surveys Announcements Insights Mobile Adoption

                    Company

                    About
                    Careers

                    Support

                    Developer Docs Contact

                    Resources

                    The Appcues Blog Product Adoption Academy GoodUX Case studies Webinar Series Made with Appcues

                    Follow us

                    Facebook icon Twitter icon grey Linkedin icon Instagram icon
                    © 2022 Appcues. All rights reserved.
                    Security Terms of Service Privacy Policy

                    Knowledge Base Software powered by Helpjuice

                    Expand