Adding Video to Mobile Flows

Videos can be added to mobile flows by using the video content block. This content block will allow you to take a video from an existing source like Wistia, YouTube, Vimeo, or other hosting service and embed the video into a mobile flow. 
If you're looking for instructions for web flows reference Embed a Video in a Flow.

How to add videos

When building a mobile flow, add or select the step. With that step selected, hover over the area where you'd like to add the video block and select the green + button. 
The content block selector will display, select the video option.
A new video block will be added in the selected area with a default video.
Select the new video block, in the sidebar there will be an "Embed code" section with the embed code for the example video. Replace the sample embed code with the embed code for your video, adjust the spacing as needed and you're good to go!


  • In Wistia select the video that you'd like to embed.
  • Select Embed & Share, Inline Embed should be selected and there will be an option to adjust the settings as needed.
  • Copy the code from the Embed Code section.
  • Go to the video block that you're currently working on in the Appcues Mobile Builder and paste the code into the Embed code section.


<script src="" async></script><script src="" async></script><div style="padding:56.25% 0 0 0;position:relative;"><div style="height:100%;left:0;position:absolute;top:0;width:100%;"><div style="height:100%;position:relative;width:100%"><div style="height:100%;left:0;opacity:0;overflow:hidden;position:absolute;top:0;transition:opacity 200ms;width:100%;"><img src="" style="filter:blur(5px);height:100%;object-fit:contain;width:100%;" alt="" aria-hidden="true" onload=";" /></div></div></div></div>


With YouTube we'll use a custom option so you have a few more controls over the behavior.

  • In YouTube navigate to the flow you want to use.
  • Select Share a URL like '' will be displayed, in this case 'EXfcMeYp1_I' will be your video ID.
  • Go to Appcues and select the video block that you're working on and copy the Sample code below into the Embed Code section.
  • Replace {{yourVideoID}} in the sample code with the video ID from YouTube.


<div id="player"></div>
  var tag = document.createElement('script');
  tag.src = "{{yourVideoID}}";
  var firstScriptTag = document.getElementsByTagName('script')[0];
  firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
  var player;
  function onYouTubeIframeAPIReady() {
    player = new YT.Player('player', {
      width: '100%',
      height: '100%',
      videoId: '{{yourVideoID}}',
      playerVars: { 'autoplay': 1, 'playsinline': 1, 'loop': 1, 'controls': 0, 'showinfo': 0 },
      events: {
        'onReady': onPlayerReady,
        'onStateChange': onPlayerStateChange
  function onPlayerReady(event) {;
  function onPlayerStateChange(event) {
    if ( === YT.PlayerState.ENDED) {


  • In Vimeo navigate to the video that you'd like to share.
  • Select the Share icon, select the Embed icon and click the Copy button.
  • Go to Appcues and select the video block that you're working with and paste the copied code into the Embed code section.


 <div style="padding:56% 0 0 0;position:relative;">
  <iframe src="" width="100%" height="100%" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%;" title="How to build mobile app onboarding flows without code with Sam Stuckless.mp4"></iframe>
 </div><script src="" width="100%" height="100%"></script>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.